Made webpack changes (#629)
This commit is contained in:
parent
e20c9569e8
commit
f060d4b1b8
|
@ -177,7 +177,7 @@ export default class SqlX extends SelfServeBaseClass {
|
||||||
currentValues: Map<string, SmartUiInput>,
|
currentValues: Map<string, SmartUiInput>,
|
||||||
baselineValues: Map<string, SmartUiInput>
|
baselineValues: Map<string, SmartUiInput>
|
||||||
): Promise<OnSaveResult> => {
|
): Promise<OnSaveResult> => {
|
||||||
selfServeTrace({ selfServeClassName: this.constructor.name });
|
selfServeTrace({ selfServeClassName: SqlX.name });
|
||||||
|
|
||||||
const dedicatedGatewayCurrentlyEnabled = currentValues.get("enableDedicatedGateway")?.value as boolean;
|
const dedicatedGatewayCurrentlyEnabled = currentValues.get("enableDedicatedGateway")?.value as boolean;
|
||||||
const dedicatedGatewayOriginallyEnabled = baselineValues.get("enableDedicatedGateway")?.value as boolean;
|
const dedicatedGatewayOriginallyEnabled = baselineValues.get("enableDedicatedGateway")?.value as boolean;
|
||||||
|
|
|
@ -220,7 +220,10 @@ module.exports = function (env = {}, argv = {}) {
|
||||||
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: false,
|
compress: false,
|
||||||
mangle: true,
|
mangle: {
|
||||||
|
keep_fnames: true,
|
||||||
|
keep_classnames: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue