Skip to content

Commit

Permalink
chore(test): give chunks names (#478)
Browse files Browse the repository at this point in the history
to make filenames consistent between webpack versions
  • Loading branch information
sokra authored and evilebottnawi committed Dec 23, 2019
1 parent daf385c commit 4498ed0
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions test/cases/composes-async/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import('./async-1.css');
import('./async-2.css');
import(/* webpackChunkName: "async-1" */ './async-1.css');
import(/* webpackChunkName: "async-2" */ './async-2.css');
1 change: 1 addition & 0 deletions test/cases/composes-async/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ module.exports = {
cacheGroups: {
cssDedupe: {
test: /\.css$/,
name: 'dedupe',
chunks: 'all',
minChunks: 2,
enforce: true,
Expand Down

0 comments on commit 4498ed0

Please sign in to comment.