Skip to content

Commit

Permalink
Default to production
Browse files Browse the repository at this point in the history
Co-Authored-By: Tobias Koppers <tobias.koppers@googlemail.com>
  • Loading branch information
tschaub and sokra committed May 16, 2019
1 parent 290ab5d commit 1a63d7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/NormalModule.js
Expand Up @@ -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,
Expand Down

0 comments on commit 1a63d7b

Please sign in to comment.