-
-
Notifications
You must be signed in to change notification settings - Fork 576
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: splitChunks.enforce, pass more webpack-tests (#4353)
fix: splitChunks.enforce should enforce minChunks to be 1
- Loading branch information
1 parent
c9f7691
commit 5cc7c50
Showing
14 changed files
with
13 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
webpack-test/configCases/split-chunks-common/correct-order/test.filter.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
module.exports = () => "https://github.com/web-infra-dev/rspack/issues/3562" | ||
module.exports = () => 'block: https://github.com/web-infra-dev/rspack/issues/3562' |
1 change: 0 additions & 1 deletion
1
webpack-test/configCases/split-chunks-common/extract-async-from-entry/test.filter.js
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
webpack-test/configCases/split-chunks-common/hot-multi/test.filter.js
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
webpack-test/configCases/split-chunks-common/hot-multi/webpack.config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
webpack-test/configCases/split-chunks-common/hot/test.filter.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
module.exports = () => {return false} | ||
module.exports = () => 'block: require.main https://github.com/web-infra-dev/rspack/issues/3562' |
2 changes: 1 addition & 1 deletion
2
webpack-test/configCases/split-chunks-common/hot/webpack.config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
webpack-test/configCases/split-chunks-common/inverted-order/test.filter.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
module.exports = () => "https://github.com/web-infra-dev/rspack/issues/3562" | ||
module.exports = () => 'block: require.main https://github.com/web-infra-dev/rspack/issues/3562' |
1 change: 0 additions & 1 deletion
1
webpack-test/configCases/split-chunks-common/issue-12128/test.filter.js
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
webpack-test/configCases/split-chunks-common/library/test.filter.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
module.exports = () => "https://github.com/web-infra-dev/rspack/issues/3564" | ||
module.exports = () => 'block: require.ensure https://github.com/web-infra-dev/rspack/issues/4304' |
1 change: 0 additions & 1 deletion
1
webpack-test/configCases/split-chunks-common/move-entry/test.filter.js
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
webpack-test/configCases/split-chunks-common/move-to-grandparent/test.filter.js
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
webpack-test/configCases/split-chunks-common/simple/test.filter.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
module.exports = () => "https://github.com/web-infra-dev/rspack/issues/3562" | ||
module.exports = () => 'block: require.main https://github.com/web-infra-dev/rspack/issues/3562' |
2 changes: 1 addition & 1 deletion
2
webpack-test/configCases/split-chunks-common/target-node/test.filter.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
module.exports = () => {return "`splitChunks.name` doesn't support passing function"} | ||
module.exports = () => 'block: not support function type splitChunks.name https://github.com/web-infra-dev/rspack/issues/4333' |