From aa99385b9acade1230843269ed925c9b5a89a6be Mon Sep 17 00:00:00 2001 From: Aliaksei Sapach Date: Thu, 24 May 2018 15:15:41 +0300 Subject: [PATCH] added a note about production mode --- examples/dll-entry-only/README.md | 4 ++-- examples/dll-entry-only/webpack.config.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/dll-entry-only/README.md b/examples/dll-entry-only/README.md index d0d606492e0..6a9f0b50d0a 100644 --- a/examples/dll-entry-only/README.md +++ b/examples/dll-entry-only/README.md @@ -39,7 +39,7 @@ var path = require("path"); var webpack = require("../../"); module.exports = { - // mode: "development || "production", + // mode: "development" || "production", entry: { dll: ["./example"] }, @@ -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({ diff --git a/examples/dll-entry-only/webpack.config.js b/examples/dll-entry-only/webpack.config.js index 65767239806..768b81d76a7 100644 --- a/examples/dll-entry-only/webpack.config.js +++ b/examples/dll-entry-only/webpack.config.js @@ -2,7 +2,7 @@ var path = require("path"); var webpack = require("../../"); module.exports = { - // mode: "development || "production", + // mode: "development" || "production", entry: { dll: ["./example"] }, @@ -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({