File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 27
27
"build" : " npm run -s transpile && npm run -s transpile:jsx && npm run -s copy-typescript-definition" ,
28
28
"postbuild" : " node ./config/node-13-exports.js && node ./config/node-commonjs.js" ,
29
29
"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 " ,
31
31
"copy-typescript-definition" : " copyfiles -f src/*.d.ts dist" ,
32
32
"test" : " eslint src test && tsc && npm run test:mocha && npm run bench" ,
33
33
"test:mocha" : " BABEL_ENV=test mocha -r @babel/register -r test/setup.js test/**/*.test.js" ,
You can’t perform that action at this time.
0 commit comments