Skip to content

Commit 9cc86d6

Browse files
authored
fix: enable rollup output.compact when minify is enabled (#1232)
1 parent 4584b89 commit 9cc86d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/plugins/tree-shaking.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ export const treeShakingPlugin = ({
4747
format: this.format,
4848
file: info.path,
4949
sourcemap: !!this.options.sourcemap,
50+
compact: !!this.options.minify,
5051
name,
5152
})
5253

0 commit comments

Comments
 (0)