We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fba820 commit 4db8ef5Copy full SHA for 4db8ef5
package.json
@@ -10,7 +10,7 @@
10
"scripts": {
11
"build": "npm run -s transpile && npm run -s transpile:jsx && npm run -s copy-typescript-definition",
12
"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",
+ "transpile:jsx": "microbundle src/jsx.js -o dist/jsx.js --target web --external none && microbundle dist/jsx.js -o dist/jsx.js -f cjs",
14
"copy-typescript-definition": "copyfiles -f src/index.d.ts dist",
15
"test": "eslint src test && mocha --compilers js:babel-register test/**/*.js",
16
"prepublish": "npm run build",
0 commit comments