Skip to content

Commit

Permalink
fix: enable rollup output.compact when minify is enabled (#1232)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrious authored Oct 17, 2024
1 parent 4584b89 commit 9cc86d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/tree-shaking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export const treeShakingPlugin = ({
format: this.format,
file: info.path,
sourcemap: !!this.options.sourcemap,
compact: !!this.options.minify,
name,
})

Expand Down

0 comments on commit 9cc86d6

Please sign in to comment.