Skip to content

Commit

Permalink
fix: disable webpack chunk coalescing
Browse files Browse the repository at this point in the history
  • Loading branch information
GabeDuarteM committed Oct 28, 2018
1 parent ee96597 commit 95d5427
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config/webpack.config.dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const config: Configuration = {
optimization: {
splitChunks: {
chunks: 'all',
name: 'vendors',
name: false,
},
runtimeChunk: true,
},
Expand Down
2 changes: 1 addition & 1 deletion src/config/webpack.config.prod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const config: Configuration = {
// https://medium.com/webpack/webpack-4-code-splitting-chunk-graph-and-the-splitchunks-optimization-be739a861366
splitChunks: {
chunks: 'all',
name: 'vendors',
name: false,
},
// Keep the runtime chunk seperated to enable long term caching
// https://twitter.com/wSokra/status/969679223278505985
Expand Down

0 comments on commit 95d5427

Please sign in to comment.