Skip to content

Commit fe234b9

Browse files
authored
[FIX] Specify react/jsx-runtime as an external dependancy, to allow compatibility with all versions of React (#5)
1 parent 7d9c869 commit fe234b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default [
3232
terser(),
3333
postcss()
3434
],
35-
external: ['react', 'react-dom']
35+
external: ['react', 'react-dom', 'react/jsx-runtime']
3636
},
3737
{
3838
input: 'src/index.ts',

0 commit comments

Comments
 (0)