source: trip-planner-front/node_modules/webpack/lib/NoModeWarning.js@ 6a80231

Last change on this file since 6a80231 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 663 bytes
Line 
1/*
2 MIT License http://www.opensource.org/licenses/mit-license.php
3 Author Tobias Koppers @sokra
4*/
5
6"use strict";
7
8const WebpackError = require("./WebpackError");
9
10module.exports = class NoModeWarning extends WebpackError {
11 constructor() {
12 super();
13
14 this.name = "NoModeWarning";
15 this.message =
16 "configuration\n" +
17 "The 'mode' option has not been set, webpack will fallback to 'production' for this value.\n" +
18 "Set 'mode' option to 'development' or 'production' to enable defaults for each environment.\n" +
19 "You can also set it to 'none' to disable any default behavior. " +
20 "Learn more: https://webpack.js.org/configuration/mode/";
21 }
22};
Note: See TracBrowser for help on using the repository browser.