File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ module.exports = {
44 '@babel/preset-env' ,
55 {
66 loose : true ,
7+ modules : process . env . BABEL_ENV === 'test' ? 'commonjs' : 'auto' ,
78 targets : {
89 node : 'current' ,
910 } ,
Original file line number Diff line number Diff line change 1212 "prepare" : " npm run -s build" ,
1313 "prepare:babel" : " babel src/*.js -d dist && npm t" ,
1414 "lint" : " eslint src" ,
15- "test" : " npm run -s lint && npm run -s build && jest" ,
15+ "test" : " npm run -s lint && npm run -s build && BABEL_ENV=test jest" ,
1616 "release" : " npm run -s prepare && npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
1717 },
1818 "repository" : " developit/microbundle" ,
Original file line number Diff line number Diff line change @@ -77,12 +77,12 @@ basic-json
7777
7878
7979Build \\ "basicJson\\ " to dist:
80- 146 B: basic-json.js.gz
81- 97 B: basic-json.js.br
82- 145 B: basic-json.mjs.gz
83- 98 B: basic-json.mjs.br
84- 225 B: basic-json.umd.js.gz
85- 161 B: basic-json.umd.js.br"
80+ 130 B: basic-json.js.gz
81+ 81 B: basic-json.js.br
82+ 129 B: basic-json.mjs.gz
83+ 81 B: basic-json.mjs.br
84+ 209 B: basic-json.umd.js.gz
85+ 149 B: basic-json.umd.js.br"
8686` ;
8787
8888exports [` fixtures basic-ts 1` ] = `
You can’t perform that action at this time.
0 commit comments