Ver a proveniência

build(webpack): remove LodashModuleReplacementPlugin

bubble
Timothy Lai há 4 anos
ascendente
cometimento
ea5b64bca3
4 ficheiros alterados com 0 adições e 15 eliminações
  1. +0
    -9
      package-lock.json
  2. +0
    -1
      package.json
  3. +0
    -1
      webpack/_config-builder.js
  4. +0
    -4
      webpack/bundle.babel.js

+ 0
- 9
package-lock.json Ver ficheiro

@@ -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",


+ 0
- 1
package.json Ver ficheiro

@@ -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",


+ 0
- 1
webpack/_config-builder.js Ver ficheiro

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


+ 0
- 4
webpack/bundle.babel.js Ver ficheiro

@@ -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"),
]
}


Carregando…
Cancelar
Guardar