'fix'
This commit is contained in:
@@ -36,25 +36,6 @@ const config = {
|
||||
chunkFilename: "static/css/[name].[contenthash:8].css",
|
||||
},
|
||||
]);
|
||||
|
||||
const WebpackObfuscator = require("webpack-obfuscator");
|
||||
chain.plugin("obfuscator").use(WebpackObfuscator, [
|
||||
{
|
||||
rotateStringArray: true,
|
||||
stringArray: true,
|
||||
stringArrayThreshold: 0.5,
|
||||
compact: true,
|
||||
controlFlowFlattening: false,
|
||||
deadCodeInjection: false,
|
||||
debugProtection: false,
|
||||
disableConsoleOutput: true,
|
||||
selfDefending: false,
|
||||
simplify: true,
|
||||
target: "browser",
|
||||
disableOptimizations: true,
|
||||
},
|
||||
["**/*.js", "!node_modules/**"],
|
||||
]);
|
||||
}
|
||||
|
||||
chain.module
|
||||
|
||||
Reference in New Issue
Block a user