mirror of https://github.com/webpack/webpack.git
Default to production
Co-Authored-By: Tobias Koppers <tobias.koppers@googlemail.com>
This commit is contained in:
parent
290ab5d071
commit
1a63d7bd0d
|
|
@ -212,7 +212,7 @@ class NormalModule extends Module {
|
|||
rootContext: options.context,
|
||||
webpack: true,
|
||||
sourceMap: !!this.useSourceMap,
|
||||
mode: options.mode,
|
||||
mode: options.mode || "production",
|
||||
_module: this,
|
||||
_compilation: compilation,
|
||||
_compiler: compilation.compiler,
|
||||
|
|
|
|||
Loading…
Reference in New Issue