Skip to content

Commit

Permalink
build: safe minify options
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Aug 22, 2023
1 parent 21018b6 commit 83a9af8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ export default defineBuildConfig({
inlineDependencies: true,
esbuild: {
minify: true,
minifyIdentifiers: false,
minifySyntax: false,
minifyWhitespace: false,
keepNames: true,
},
},
entries: ["src/index", "src/native", "src/polyfill", "src/node"],
Expand Down

0 comments on commit 83a9af8

Please sign in to comment.