Skip to content

Commit

Permalink
added a note about production mode
Browse files Browse the repository at this point in the history
  • Loading branch information
asapach committed May 24, 2018
1 parent afca267 commit aa99385
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/dll-entry-only/README.md
Expand Up @@ -39,7 +39,7 @@ var path = require("path");
var webpack = require("../../");

module.exports = {
// mode: "development || "production",
// mode: "development" || "production",
entry: {
dll: ["./example"]
},
Expand All @@ -49,7 +49,7 @@ module.exports = {
library: "[name]_[hash]"
},
optimization: {
concatenateModules: true
concatenateModules: true // this is enabled by default in production mode
},
plugins: [
new webpack.DllPlugin({
Expand Down
4 changes: 2 additions & 2 deletions examples/dll-entry-only/webpack.config.js
Expand Up @@ -2,7 +2,7 @@ var path = require("path");
var webpack = require("../../");

module.exports = {
// mode: "development || "production",
// mode: "development" || "production",
entry: {
dll: ["./example"]
},
Expand All @@ -12,7 +12,7 @@ module.exports = {
library: "[name]_[hash]"
},
optimization: {
concatenateModules: true
concatenateModules: true // this is enabled by default in production mode
},
plugins: [
new webpack.DllPlugin({
Expand Down

0 comments on commit aa99385

Please sign in to comment.