diff --git a/webpack.md b/webpack.md index 619cb03..08a2529 100644 --- a/webpack.md +++ b/webpack.md @@ -85,4 +85,10 @@ const config = { module.exports = config; ``` ### 模式 -通过选择 ``` develompment ``` 与 ``` pro +通过选择 ``` develompment ``` 与 ``` production ```之中的一个 +``` +module.exports = { + mode: 'production' +}; +``` +