Skip to content

Commit

Permalink
#28 Upgrade minify
Browse files Browse the repository at this point in the history
  • Loading branch information
markwylde committed Jun 30, 2024
1 parent 59f441d commit a3795ae
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 21 deletions.
12 changes: 8 additions & 4 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ const isWatching = process.argv[2] === '--watch';

const minifyOptions = {
js: {
ecma: '2020',
keep_fnames: true,
mangle: {
toplevel: true
type: 'terser',
terser: {
compress: {
keep_fnames: true
},
mangle: {
keep_fnames: true
}
}
}
};
Expand Down
55 changes: 39 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"debounce": "^2.1.0",
"esbuild": "^0.21.5",
"just-tap": "^2.9.4",
"minify": "^9.2.0",
"minify": "^11.2.1",
"puppeteer": "^22.12.1",
"servatron": "^2.5.0"
}
Expand Down

0 comments on commit a3795ae

Please sign in to comment.