Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Commit

Permalink
ie 이슈 해결
Browse files Browse the repository at this point in the history
해결 방법 소스 webpack/webpack#368
  • Loading branch information
yusunglee2074 committed Aug 30, 2017
1 parent df11e1f commit 5b62744
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions build/webpack.prod.conf.js
Expand Up @@ -67,16 +67,7 @@ var webpackConfig = merge(baseWebpackConfig, {
// split vendor js into its own file
new webpack.optimize.CommonsChunkPlugin({
name: 'vendor',
minChunks: function (module, count) {
// any required modules inside node_modules are extracted to vendor
return (
module.resource &&
/\.js$/.test(module.resource) &&
module.resource.indexOf(
path.join(__dirname, '../node_modules')
) === 0
)
}
minChunks: Infinity
}),
// extract webpack runtime and module manifest to its own file in order to
// prevent vendor hash from being updated whenever app bundle is updated
Expand Down

0 comments on commit 5b62744

Please sign in to comment.