Skip to content

Commit 5aefe80

Browse files
authored
feat: add jsx-runtime as external dependency to reduce bundle size (#209)
1 parent 9b18098 commit 5aefe80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ export default {
2525
tsconfig: 'tsconfig.build.json',
2626
}),
2727
],
28-
external: ['react', 'react-dom'],
28+
external: ['react', 'react-dom', 'react/jsx-runtime'],
2929
};

0 commit comments

Comments
 (0)