build(webpack): remove LodashModuleReplacementPlugin

This commit is contained in:
Timothy Lai
2020-07-22 12:28:29 -07:00
parent c654d08af8
commit ea5b64bca3
4 changed files with 0 additions and 15 deletions

9
package-lock.json generated
View File

@@ -14094,15 +14094,6 @@
"integrity": "sha1-uvSJNOVDobXWNG+MhGmLGoyAOJY=", "integrity": "sha1-uvSJNOVDobXWNG+MhGmLGoyAOJY=",
"dev": true "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": { "lodash._arraycopy": {
"version": "3.0.0", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/lodash._arraycopy/-/lodash._arraycopy-3.0.0.tgz", "resolved": "https://registry.npmjs.org/lodash._arraycopy/-/lodash._arraycopy-3.0.0.tgz",

View File

@@ -134,7 +134,6 @@
"json-server": "^0.15.0", "json-server": "^0.15.0",
"less": "^3.11.2", "less": "^3.11.2",
"license-checker": "^25.0.0", "license-checker": "^25.0.0",
"lodash-webpack-plugin": "=0.11.5",
"mini-css-extract-plugin": "^0.9.0", "mini-css-extract-plugin": "^0.9.0",
"mocha": "^5.2.0", "mocha": "^5.2.0",
"nightwatch": "^1.3.6", "nightwatch": "^1.3.6",

View File

@@ -28,7 +28,6 @@ const baseRules = [
options: { options: {
retainLines: true, retainLines: true,
cacheDirectory: true, cacheDirectory: true,
plugins: ["lodash"]
}, },
}, },
{ test: /\.(txt|yaml)$/, loader: "raw-loader" }, { test: /\.(txt|yaml)$/, loader: "raw-loader" },

View File

@@ -4,7 +4,6 @@
import configBuilder from "./_config-builder" import configBuilder from "./_config-builder"
import { DuplicatesPlugin } from "inspectpack/plugin" import { DuplicatesPlugin } from "inspectpack/plugin"
import LodashModuleReplacementPlugin from "lodash-webpack-plugin"
import { WebpackBundleSizeAnalyzerPlugin } from "webpack-bundle-size-analyzer" import { WebpackBundleSizeAnalyzerPlugin } from "webpack-bundle-size-analyzer"
const result = configBuilder( const result = configBuilder(
@@ -31,9 +30,6 @@ const result = configBuilder(
// display full duplicates information? (Default: `false`) // display full duplicates information? (Default: `false`)
verbose: false, verbose: false,
}), }),
new LodashModuleReplacementPlugin({
"memoizing": true
}),
new WebpackBundleSizeAnalyzerPlugin("log.bundle-sizes.swagger-ui.txt"), new WebpackBundleSizeAnalyzerPlugin("log.bundle-sizes.swagger-ui.txt"),
] ]
} }