Skip to content

Commit

Permalink
perf: minify dist by default
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Aug 22, 2023
1 parent a6e602d commit 413e3a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ export default defineBuildConfig({
rollup: {
emitCJS: true,
inlineDependencies: true,
esbuild: {
minify: true,
},
},
entries: ["src/index", "src/native", "src/polyfill", "src/node"],
});

0 comments on commit 413e3a3

Please sign in to comment.