diff --git a/package.json b/package.json index 0244afc8f..490932647 100644 --- a/package.json +++ b/package.json @@ -109,7 +109,7 @@ "svg-url-loader": "^2.3.2", "url-loader": "^1.0.1", "webpack": "^4.2.0", - "webpack-assets-manifest": "^2.0.0", + "webpack-assets-manifest": "^3.0.0", "webpack-bundle-analyzer": "^2.11.1", "webpack-dev-middleware": "^3.0.1", "webpack-hot-middleware": "^2.21.2", diff --git a/tools/webpack.config.js b/tools/webpack.config.js index aec14a427..c64ed14da 100644 --- a/tools/webpack.config.js +++ b/tools/webpack.config.js @@ -316,7 +316,7 @@ const clientConfig = { output: `${BUILD_DIR}/asset-manifest.json`, publicPath: true, writeToDisk: true, - customize: (key, value) => { + customize: ({ key, value }) => { // You can prevent adding items to the manifest by returning false. if (key.toLowerCase().endsWith('.map')) return false; return { key, value }; diff --git a/yarn.lock b/yarn.lock index e5e126087..cdd5e6429 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5259,26 +5259,14 @@ lodash.isstring@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/lodash.isstring/-/lodash.isstring-4.0.1.tgz#d527dfb5456eca7cc9bb95d5daeaf88ba54a5451" -lodash.keys@^4.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/lodash.keys/-/lodash.keys-4.2.0.tgz#a08602ac12e4fb83f91fc1fb7a360a4d9ba35205" - lodash.memoize@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" -lodash.merge@^4.0: - version "4.6.1" - resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.1.tgz#adc25d9cb99b9391c59624f379fbba60d7111d54" - lodash.once@^4.0.0: version "4.1.1" resolved "https://registry.yarnpkg.com/lodash.once/-/lodash.once-4.1.1.tgz#0dd3971213c7c56df880977d504c88fb471a97ac" -lodash.pick@^4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/lodash.pick/-/lodash.pick-4.4.0.tgz#52f05610fff9ded422611441ed1fc123a03001b3" - lodash.set@^4.0.0: version "4.3.2" resolved "https://registry.yarnpkg.com/lodash.set/-/lodash.set-4.3.2.tgz#d8757b1da807dde24816b0d6a84bea1a76230b23" @@ -9069,17 +9057,16 @@ webidl-conversions@^4.0.1, webidl-conversions@^4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad" -webpack-assets-manifest@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/webpack-assets-manifest/-/webpack-assets-manifest-2.0.0.tgz#bb394dae8b567093a0dcb2b1ceea1e7c8ecc7a4e" +webpack-assets-manifest@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/webpack-assets-manifest/-/webpack-assets-manifest-3.0.0.tgz#a43c3db908493b72727e63f178f28ad023621b64" dependencies: chalk "^2.0" lodash.get "^4.0" lodash.has "^4.0" - lodash.keys "^4.0" - lodash.merge "^4.0" - lodash.pick "^4.0" mkdirp "^0.5" + schema-utils "^0.4.5" + tapable "^1.0.0" webpack-bundle-analyzer@^2.11.1: version "2.11.1"