mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 12:03:31 +01:00
fix: properly fix minified builds
This commit is contained in:
@@ -13,6 +13,7 @@ if (prod) {
|
|||||||
plugins.push(new UglifyJSPlugin({
|
plugins.push(new UglifyJSPlugin({
|
||||||
uglifyOptions: {
|
uglifyOptions: {
|
||||||
mangle: { keep_classnames: true },
|
mangle: { keep_classnames: true },
|
||||||
|
compress: { keep_classnames: true },
|
||||||
output: { comments: false },
|
output: { comments: false },
|
||||||
},
|
},
|
||||||
}));
|
}));
|
||||||
|
|||||||
Reference in New Issue
Block a user