Skip to content

Commit

Permalink
docs(guides): rewrite tree-shaking and production (#1508)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
skipjack authored Aug 26, 2017
1 parent 39cc0e2 commit ebcdee0
Show file tree
Hide file tree
Showing 3 changed files with 263 additions and 255 deletions.
3 changes: 1 addition & 2 deletions src/content/guides/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,7 @@ __webpack.config.js__
new CleanWebpackPlugin(['dist']),
new HtmlWebpackPlugin({
title: 'Output Management'
}),
new webpack.HotModuleReplacementPlugin()
})
],
output: {
filename: '[name].bundle.js',
Expand Down
Loading

0 comments on commit ebcdee0

Please sign in to comment.