Skip to content

Commit

Permalink
Merge branch 'master' into remove_import_pruning
Browse files Browse the repository at this point in the history
  • Loading branch information
developit committed Dec 8, 2018
2 parents 3176b69 + 210bb00 commit 296026b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions babel.config.js
Expand Up @@ -4,6 +4,7 @@ module.exports = {
'@babel/preset-env',
{
loose: true,
modules: process.env.BABEL_ENV === 'test' ? 'commonjs' : 'auto',
targets: {
node: 'current',
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -12,7 +12,7 @@
"prepare": "npm run -s build",
"prepare:babel": "babel src/*.js -d dist && npm t",
"lint": "eslint src",
"test": "npm run -s lint && npm run -s build && jest",
"test": "npm run -s lint && npm run -s build && BABEL_ENV=test jest",
"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"
},
"repository": "developit/microbundle",
Expand Down
12 changes: 6 additions & 6 deletions test/__snapshots__/index.test.js.snap
Expand Up @@ -77,12 +77,12 @@ basic-json
Build \\"basicJson\\" to dist:
146 B: basic-json.js.gz
97 B: basic-json.js.br
145 B: basic-json.mjs.gz
98 B: basic-json.mjs.br
225 B: basic-json.umd.js.gz
161 B: basic-json.umd.js.br"
130 B: basic-json.js.gz
81 B: basic-json.js.br
129 B: basic-json.mjs.gz
81 B: basic-json.mjs.br
209 B: basic-json.umd.js.gz
149 B: basic-json.umd.js.br"
`;

exports[`fixtures basic-ts 1`] = `
Expand Down

0 comments on commit 296026b

Please sign in to comment.