Skip to content

Commit ab80c92

Browse files
Merge pull request #207 from Saifullah-dev/chore/react-version-compatibility
fix(build): externalize react/jsx-runtime to support React 18 & 19
2 parents 88e4e7c + c96fa2d commit ab80c92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/vite.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default defineConfig({
1313
formats: ["es"],
1414
},
1515
rollupOptions: {
16-
external: ["react", "react-dom"],
16+
external: ["react", "react-dom", "react/jsx-runtime"],
1717
output: {
1818
globals: {
1919
react: "React",

0 commit comments

Comments
 (0)