Skip to content

Commit 4f52355

Browse files
committed
fix: microbundle defaults to preact, changed it back to react
1 parent 08b535a commit 4f52355

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"build": "next build",
2020
"prebuild:dist": "rimraf dist/**",
2121
"build:dist": "npm run build:postcss && npm run build:microbundle",
22-
"build:microbundle": "NODE_ENV=production microbundle --define process.env.NODE_ENV=production --tsconfig tsconfig.microbundle.json -f cjs,es,modern",
22+
"build:microbundle": "NODE_ENV=production microbundle --define process.env.NODE_ENV=production --tsconfig tsconfig.microbundle.json -f cjs,es,modern --css-modules false --jsx React.createElement --jsxFragment React.Fragment",
2323
"build:postcss": "postcss -d dist --no-map src/style.css",
2424
"dev": "next",
2525
"lint": "eslint . --ext ts,tsx,js,jsx --max-warnings 0 && tsc",

0 commit comments

Comments
 (0)