build(webpack): remove LodashModuleReplacementPlugin
This commit is contained in:
9
package-lock.json
generated
9
package-lock.json
generated
@@ -14094,15 +14094,6 @@
|
||||
"integrity": "sha1-uvSJNOVDobXWNG+MhGmLGoyAOJY=",
|
||||
"dev": true
|
||||
},
|
||||
"lodash-webpack-plugin": {
|
||||
"version": "0.11.5",
|
||||
"resolved": "https://registry.npmjs.org/lodash-webpack-plugin/-/lodash-webpack-plugin-0.11.5.tgz",
|
||||
"integrity": "sha512-QWfEIYxpixOdbd6KBe5g6MDWcyTgP3trDXwKHFqTlXrWiLcs/67fGQ0IWeRyhWlTITQIgMpJAYd2oeIztuV5VA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"lodash": "^4.17.4"
|
||||
}
|
||||
},
|
||||
"lodash._arraycopy": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/lodash._arraycopy/-/lodash._arraycopy-3.0.0.tgz",
|
||||
|
||||
@@ -134,7 +134,6 @@
|
||||
"json-server": "^0.15.0",
|
||||
"less": "^3.11.2",
|
||||
"license-checker": "^25.0.0",
|
||||
"lodash-webpack-plugin": "=0.11.5",
|
||||
"mini-css-extract-plugin": "^0.9.0",
|
||||
"mocha": "^5.2.0",
|
||||
"nightwatch": "^1.3.6",
|
||||
|
||||
@@ -28,7 +28,6 @@ const baseRules = [
|
||||
options: {
|
||||
retainLines: true,
|
||||
cacheDirectory: true,
|
||||
plugins: ["lodash"]
|
||||
},
|
||||
},
|
||||
{ test: /\.(txt|yaml)$/, loader: "raw-loader" },
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
|
||||
import configBuilder from "./_config-builder"
|
||||
import { DuplicatesPlugin } from "inspectpack/plugin"
|
||||
import LodashModuleReplacementPlugin from "lodash-webpack-plugin"
|
||||
import { WebpackBundleSizeAnalyzerPlugin } from "webpack-bundle-size-analyzer"
|
||||
|
||||
const result = configBuilder(
|
||||
@@ -31,9 +30,6 @@ const result = configBuilder(
|
||||
// display full duplicates information? (Default: `false`)
|
||||
verbose: false,
|
||||
}),
|
||||
new LodashModuleReplacementPlugin({
|
||||
"memoizing": true
|
||||
}),
|
||||
new WebpackBundleSizeAnalyzerPlugin("log.bundle-sizes.swagger-ui.txt"),
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user