Skip to content

Commit 4db8ef5

Browse files
committed
Backport fix for untranspiled pretty-format code in the jsx bundle
1 parent 9fba820 commit 4db8ef5

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
@@ -10,7 +10,7 @@
1010
"scripts": {
1111
"build": "npm run -s transpile && npm run -s transpile:jsx && npm run -s copy-typescript-definition",
1212
"transpile": "microbundle src/index.js -f es,umd --target web --external none",
13-
"transpile:jsx": "microbundle src/jsx.js -o dist/jsx.js --target web --external none",
13+
"transpile:jsx": "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",
1616
"prepublish": "npm run build",

0 commit comments

Comments
 (0)