Skip to content

Commit a4c696a

Browse files
authored
Update index.js
1 parent 9013110 commit a4c696a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/index.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -682,12 +682,13 @@ function createConfig(options, entry, format, writeMeta) {
682682
strict: options.strict === true,
683683
freeze: false,
684684
compact: true,
685-
treeshake: {
686-
// use Rollup's most optimal tree-shaking: (drops unused getter reads)
687-
preset: 'smallest',
688-
// preserve side-effect-only imports:
689-
moduleSideEffects: true,
690-
},
685+
// @todo: enable this when we update to the latest Rollup
686+
//treeshake: {
687+
// // use Rollup's most optimal tree-shaking: (drops unused getter reads)
688+
// preset: 'smallest',
689+
// // preserve side-effect-only imports:
690+
// moduleSideEffects: true,
691+
//},
691692
generatedCode: modern ? 'es2015' : 'es5',
692693
// turn off live bindings support (exports.* getters for re-exports)
693694
externalLiveBindings: false,

0 commit comments

Comments
 (0)