diff --git a/src/index.js b/src/index.js index 99e6a8fc..f65710f2 100644 --- a/src/index.js +++ b/src/index.js @@ -481,6 +481,7 @@ function createConfig(options, entry, format, writeMeta) { }, treeshake: { + annotations: options.compress, propertyReadSideEffects: false, },