Skip to content

Commit

Permalink
Merge pull request #9029 from EugeneHlushko/mode/warning
Browse files Browse the repository at this point in the history
Update link in warning
  • Loading branch information
sokra committed Apr 17, 2019
2 parents b72b96a + 84ca105 commit 42db81a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/NoModeWarning.js
Expand Up @@ -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);
}
Expand Down
4 changes: 2 additions & 2 deletions test/__snapshots__/StatsTestCases.test.js.snap
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 42db81a

Please sign in to comment.