mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-02-21 11:47:14 +00:00
setting compress true
This commit is contained in:
parent
6c6d03946e
commit
b9c3936ded
@ -243,12 +243,12 @@ module.exports = function (_env = {}, argv = {}) {
|
|||||||
extensions: [".tsx", ".ts", ".js"],
|
extensions: [".tsx", ".ts", ".js"],
|
||||||
},
|
},
|
||||||
optimization: {
|
optimization: {
|
||||||
minimize: mode === "production" ? true : false,
|
minimize: true,
|
||||||
minimizer: [
|
minimizer: [
|
||||||
new TerserPlugin({
|
new TerserPlugin({
|
||||||
terserOptions: {
|
terserOptions: {
|
||||||
// These options increase our initial bundle size by ~5% but the builds are significantly faster and won't run out of memory
|
// These options increase our initial bundle size by ~5% but the builds are significantly faster and won't run out of memory
|
||||||
compress: true,
|
// compress: false,
|
||||||
mangle: {
|
mangle: {
|
||||||
keep_fnames: true,
|
keep_fnames: true,
|
||||||
keep_classnames: true,
|
keep_classnames: true,
|
||||||
@ -266,6 +266,7 @@ module.exports = function (_env = {}, argv = {}) {
|
|||||||
// enforce: true,
|
// enforce: true,
|
||||||
// },
|
// },
|
||||||
// },
|
// },
|
||||||
|
// runtimeChunk: false,
|
||||||
// },
|
// },
|
||||||
},
|
},
|
||||||
watch: false,
|
watch: false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user