Skip to content

Commit fd7fa37

Browse files
vaneenigedevelopit
authored andcommitted
Resolve crash when using hooks (#77)
1 parent 8536c75 commit fd7fa37

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
@@ -9,7 +9,7 @@
99
"jsnext:main": "dist/index.mjs",
1010
"scripts": {
1111
"build": "npm run -s transpile && npm run -s transpile:jsx && npm run -s copy-typescript-definition",
12-
"transpile": "echo 'export const ENABLE_PRETTY = false;'>env.js && microbundle src/index.js -f es,umd --target web --external none",
12+
"transpile": "echo 'export const ENABLE_PRETTY = false;'>env.js && microbundle src/index.js -f es,umd --target web --external preact",
1313
"transpile:jsx": "echo 'export const ENABLE_PRETTY = true;'>env.js && microbundle src/jsx.js -o dist/jsx.js --target web --external none && microbundle dist/jsx.js -o dist/jsx.js -f cjs",
1414
"copy-typescript-definition": "copyfiles -f src/index.d.ts dist",
1515
"test": "eslint src test && mocha --compilers js:babel-register test/**/*.js",

0 commit comments

Comments
 (0)