From f86a5bfae39dd32571599b1c3d17fa6c5daaf318 Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Sat, 28 Sep 2019 21:40:28 +0800 Subject: [PATCH] Update `webpack` to v4.41.0 (#6560) * Update `webpack` to v4.41.0 * update cache version --- package.json | 2 +- scripts/build/build.js | 2 +- yarn.lock | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 83d0cf88..6374fdab 100644 --- a/package.json +++ b/package.json @@ -115,7 +115,7 @@ "strip-ansi": "4.0.0", "tempy": "0.2.1", "terser-webpack-plugin": "1.4.1", - "webpack": "4.39.1" + "webpack": "4.41.0" }, "scripts": { "prepublishOnly": "echo \"Error: must publish from dist/\" && exit 1", diff --git a/scripts/build/build.js b/scripts/build/build.js index c81579c3..f83972b1 100644 --- a/scripts/build/build.js +++ b/scripts/build/build.js @@ -99,7 +99,7 @@ async function run(params) { await execa("rm", ["-rf", ".cache"]); } - const bundleCache = new Cache(".cache/", "v15"); + const bundleCache = new Cache(".cache/", "v16"); await bundleCache.load(); console.log(chalk.inverse(" Building packages ")); diff --git a/yarn.lock b/yarn.lock index ed6870e9..d915fad1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7268,10 +7268,10 @@ webpack-sources@^1.4.0, webpack-sources@^1.4.1: source-list-map "^2.0.0" source-map "~0.6.1" -webpack@4.39.1: - version "4.39.1" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.39.1.tgz#60ed9fb2b72cd60f26ea526c404d2a4cc97a1bd8" - integrity sha512-/LAb2TJ2z+eVwisldp3dqTEoNhzp/TLCZlmZm3GGGAlnfIWDgOEE758j/9atklNLfRyhKbZTCOIoPqLJXeBLbQ== +webpack@4.41.0: + version "4.41.0" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.41.0.tgz#db6a254bde671769f7c14e90a1a55e73602fc70b" + integrity sha512-yNV98U4r7wX1VJAj5kyMsu36T8RPPQntcb5fJLOsMz/pt/WrKC0Vp1bAlqPLkA1LegSwQwf6P+kAbyhRKVQ72g== dependencies: "@webassemblyjs/ast" "1.8.5" "@webassemblyjs/helper-module-context" "1.8.5"