Skip to content

Commit ebcdee0

Browse files
authored
docs(guides): rewrite tree-shaking and production (#1508)
This continues our work #1258 and resolves the issues mentioned in #1331. The updates to tree-shaking were more just clean up and synchronization while production included more significant changes and a strong recommendation of `webpack-merge`. The old guide pointed out that _you could_ just maintain two separate configs and duplicate the overlap but I don't think we should recommend this. Resolves #1331
1 parent 39cc0e2 commit ebcdee0

File tree

3 files changed

+263
-255
lines changed

3 files changed

+263
-255
lines changed

src/content/guides/development.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,7 @@ __webpack.config.js__
267267
new CleanWebpackPlugin(['dist']),
268268
new HtmlWebpackPlugin({
269269
title: 'Output Management'
270-
}),
271-
new webpack.HotModuleReplacementPlugin()
270+
})
272271
],
273272
output: {
274273
filename: '[name].bundle.js',

0 commit comments

Comments
 (0)