Fix Rollup upgrade adding __esModule properties to exports.

This commit is contained in:
Jason Miller 2018-07-05 02:15:58 -04:00
parent 0a6a7911d6
commit 42050bbfc0
2 changed files with 2 additions and 1 deletions

View File

@ -50,7 +50,7 @@
"gzip-size": "^4.1.0",
"pretty-bytes": "^5.1.0",
"regenerator-runtime": "^0.11.1",
"rollup": "^0.60.1",
"rollup": "^0.62.0",
"rollup-plugin-buble": "^0.19.2",
"rollup-plugin-bundle-size": "^1.0.1",
"rollup-plugin-commonjs": "^9.0.0",

View File

@ -431,6 +431,7 @@ function createConfig(options, entry, format, writeMeta) {
strict: options.strict === true,
legacy: true,
freeze: false,
esModule: false,
sourcemap: options.sourcemap !== false,
treeshake: {
propertyReadSideEffects: false,