Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lesleyrs committed Jul 10, 2024
1 parent 88b5572 commit 95b8e42
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"build": "npm run asc && webpack --mode=production --node-env=production",
"build:dev": "npm run asc && webpack --mode=development",
"build:prod": "npm run asc && webpack --mode=production --node-env=production",
"dev": "npm run asc && webpack-dev-server --hot --watch",
"dev": "npm run asc && webpack-dev-server --hot",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"format": "prettier src/**/*.{js,ts} --write",
Expand Down
16 changes: 8 additions & 8 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ module.exports = () => {
minify: TerserPlugin.terserMinify,
parallel: true,
terserOptions: {
mangle: true,
// mangle: {
// properties: {
// keep_quoted: true, // needed for tinymidipcm.mjs
// reserved: [
mangle: {
properties: {
// keep_quoted: true, // needed for tinymidipcm.mjs
reserved: [
'World_default',
// 'loadTinyMidiPCM', // needed for tinymidipcm.mjs
// 'newBzip2State', // keeps renaming this to $S
// 'portOffset', // idk why but has to
Expand All @@ -150,9 +150,9 @@ module.exports = () => {
// '__pin',
// '__new',
// '__unpin'
// ]
// }
// },
]
}
},
format: {
quote_style: 3, // original
keep_quoted_props: true // needed for tinymidipcm.mjs
Expand Down

0 comments on commit 95b8e42

Please sign in to comment.