diff --git a/src/plugins/tree-shaking.ts b/src/plugins/tree-shaking.ts index 71e55553f..b9eb5a770 100644 --- a/src/plugins/tree-shaking.ts +++ b/src/plugins/tree-shaking.ts @@ -47,6 +47,7 @@ export const treeShakingPlugin = ({ format: this.format, file: info.path, sourcemap: !!this.options.sourcemap, + compact: !!this.options.minify, name, })