mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-11-01 19:32:27 +08:00
fix (webpack): uglify plugin is broken
This commit is contained in:
@ -99,10 +99,10 @@ const config = {
|
||||
|
||||
|
||||
if (process.env.NODE_ENV === "production") {
|
||||
config.plugins.push(new UglifyJSPlugin({
|
||||
sourceMap: false,
|
||||
extractComments: true,
|
||||
}));
|
||||
// config.plugins.push(new UglifyJSPlugin({
|
||||
// sourceMap: false,
|
||||
// extractComments: true,
|
||||
// }));
|
||||
config.plugins.push(new CompressionPlugin({
|
||||
asset: "[path].gz[query]",
|
||||
algorithm: "gzip",
|
||||
|
||||
Reference in New Issue
Block a user