Skip to content

Commit aa99385

Browse files
committed
added a note about production mode
1 parent afca267 commit aa99385

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/dll-entry-only/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var path = require("path");
3939
var webpack = require("../../");
4040

4141
module.exports = {
42-
// mode: "development || "production",
42+
// mode: "development" || "production",
4343
entry: {
4444
dll: ["./example"]
4545
},
@@ -49,7 +49,7 @@ module.exports = {
4949
library: "[name]_[hash]"
5050
},
5151
optimization: {
52-
concatenateModules: true
52+
concatenateModules: true // this is enabled by default in production mode
5353
},
5454
plugins: [
5555
new webpack.DllPlugin({

examples/dll-entry-only/webpack.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ var path = require("path");
22
var webpack = require("../../");
33

44
module.exports = {
5-
// mode: "development || "production",
5+
// mode: "development" || "production",
66
entry: {
77
dll: ["./example"]
88
},
@@ -12,7 +12,7 @@ module.exports = {
1212
library: "[name]_[hash]"
1313
},
1414
optimization: {
15-
concatenateModules: true
15+
concatenateModules: true // this is enabled by default in production mode
1616
},
1717
plugins: [
1818
new webpack.DllPlugin({

0 commit comments

Comments
 (0)