Skip to content

Commit fa1b37b

Browse files
Merge pull request #196 from preactjs/jsx-inlined
Fix preact being accidentally inlined for jsx renderer
2 parents 1a3ebd7 + 56c840f commit fa1b37b

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
@@ -27,7 +27,7 @@
2727
"build": "npm run -s transpile && npm run -s transpile:jsx && npm run -s copy-typescript-definition",
2828
"postbuild": "node ./config/node-13-exports.js && node ./config/node-commonjs.js",
2929
"transpile": "microbundle src/index.js -f es,umd --target web --external preact",
30-
"transpile:jsx": "microbundle src/jsx.js -o dist/jsx.js --target web --external none && microbundle dist/jsx.js -o dist/jsx.js -f cjs",
30+
"transpile:jsx": "microbundle src/jsx.js -o dist/jsx.js --target web --external preact && microbundle dist/jsx.js -o dist/jsx.js -f cjs --external preact",
3131
"copy-typescript-definition": "copyfiles -f src/*.d.ts dist",
3232
"test": "eslint src test && tsc && npm run test:mocha && npm run bench",
3333
"test:mocha": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js test/**/*.test.js",

0 commit comments

Comments
 (0)