Skip to content

Commit

Permalink
build: Fix Preact support by externalizing JSX runtime (#2076)
Browse files Browse the repository at this point in the history
Fix Preact support by not bundling a hard-coded copy of the JSX runtime
  • Loading branch information
pwolfert committed Apr 16, 2024
1 parent eafe0b2 commit 7c37f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const mainConfig = {
}
}
],
external: ['react', 'date-fns', 'date-fns/locale'],
external: ['react', 'react/jsx-runtime', 'date-fns', 'date-fns/locale'],
plugins: [
nodeResolve(),
commonjs(),
Expand Down

0 comments on commit 7c37f40

Please sign in to comment.