Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5da9e2a

Browse files
committed
make sure jsx runtime isn't bundled
1 parent e0fdd69 commit 5da9e2a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎rollup.config.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@ import {
77
const format = getBuildFormat();
88
const buildType = isProductionBuild() ? '' : '-dev';
99

10-
const external = ['gl-matrix', 'prop-types', 'react', 'react-dom'];
10+
const external = [
11+
'gl-matrix',
12+
'prop-types',
13+
'react',
14+
'react-dom',
15+
'react/jsx-runtime',
16+
];
1117

1218
const buildFormats = format ? [format] : ['cjs', 'es'];
1319
const builds = buildFormats.map((buildFormat) =>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /