-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In certain cases, the maximum length was actually 21, resulting in unexpected file names and off-by-one-sourcemaps.
- Loading branch information
1 parent
a9acb57
commit 50697b8
Showing
3 changed files
with
4 additions
and
4 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
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
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,9 1,9 @@ | ||
module.exports = defineTest({ | ||
description: 'throws when the maximum hash size is exceeded', | ||
options: { output: { chunkFileNames: '[hash:23].js' } }, | ||
options: { output: { chunkFileNames: '[hash:22].js' } }, | ||
generateError: { | ||
code: 'VALIDATION_ERROR', | ||
message: | ||
'Hashes cannot be longer than 22 characters, received 23. Check the "output.chunkFileNames" option.' | ||
'Hashes cannot be longer than 21 characters, received 22. Check the "output.chunkFileNames" option.' | ||
} | ||
}); |