From 14c78ce2bd264eb8ff5e397136f90c7f069e0406 Mon Sep 17 00:00:00 2001 From: EugeneHlushko Date: Mon, 1 Apr 2019 10:56:00 +0300 Subject: [PATCH 1/3] mode(warning) update documentation link in warning --- lib/NoModeWarning.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/NoModeWarning.js b/lib/NoModeWarning.js index 1fbc3426af9..4bd3c3ff824 100644 --- a/lib/NoModeWarning.js +++ b/lib/NoModeWarning.js @@ -16,7 +16,7 @@ module.exports = class NoModeWarning extends WebpackError { "The 'mode' option has not been set, webpack will fallback to 'production' for this value. " + "Set 'mode' option to 'development' or 'production' to enable defaults for each environment.\n" + "You can also set it to 'none' to disable any default behavior. " + - "Learn more: https://webpack.js.org/concepts/mode/"; + "Learn more: https://webpack.js.org/configuration/mode/"; Error.captureStackTrace(this, this.constructor); } From fe2c41ad7faba543474031717c9bf90ea97f82d8 Mon Sep 17 00:00:00 2001 From: EugeneHlushko Date: Mon, 1 Apr 2019 10:58:54 +0300 Subject: [PATCH 2/3] mode(warning) update mode warning snapshot --- test/__snapshots__/StatsTestCases.test.js.snap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/__snapshots__/StatsTestCases.test.js.snap b/test/__snapshots__/StatsTestCases.test.js.snap index d441f4fb19f..c382c2b69b8 100644 --- a/test/__snapshots__/StatsTestCases.test.js.snap +++ b/test/__snapshots__/StatsTestCases.test.js.snap @@ -1512,7 +1512,7 @@ Entrypoint main = bundle.js WARNING in configuration The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment. -You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/concepts/mode/ +You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/configuration/mode/ Child child: Asset Size Chunks Chunk Names child.js 3.57 KiB 0 child From 84ca105156bd97858faa99471960e20f2f80cc23 Mon Sep 17 00:00:00 2001 From: EugeneHlushko Date: Mon, 15 Apr 2019 15:23:16 +0300 Subject: [PATCH 3/3] mode(warning) update mode warning snapshot hash --- test/__snapshots__/StatsTestCases.test.js.snap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/__snapshots__/StatsTestCases.test.js.snap b/test/__snapshots__/StatsTestCases.test.js.snap index c382c2b69b8..3b0138b5de2 100644 --- a/test/__snapshots__/StatsTestCases.test.js.snap +++ b/test/__snapshots__/StatsTestCases.test.js.snap @@ -1501,7 +1501,7 @@ Entrypoint entry = entry.js `; exports[`StatsTestCases should print correct stats for no-emit-on-errors-plugin-with-child-error 1`] = ` -"Hash: c07d925d7e60129ffc69 +"Hash: 51d6721efa0198f0e5a4 Time: Xms Built at: Thu Jan 01 1970 00:00:00 GMT Asset Size Chunks Chunk Names