-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to webpack 5 #26229
Merged
Merged
Update to webpack 5 #26229
Changes from 20 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
af3659a
Update to webpack 5
Johennes c844d80
Merge branch 'johannes/webpack-cli-4.10.0' into johannes/webpack-5
Johennes 9b8d6e7
Set context manually in NormalModuleReplacementPlugin to fix relative…
Johennes 2984c3b
Remove . since path is already relative
Johennes 0b706bb
Merge branch 'johannes/webpack-cli-4.10.0' into johannes/webpack-5
Johennes 88666ee
Also polyfill buffer and process/browser
Johennes 98c27c8
Merge branch 'johannes/webpack-cli-4.10.0' into johannes/webpack-5
Johennes 3a73f6b
Merge branch 'develop' into johannes/webpack-5
Johennes d8f46ab
Appease the linter
Johennes 17147ad
Merge branch 'develop' into johannes/webpack-5
Johennes 4ffac57
Merge branch 'develop' into johannes/webpack-5
Johennes e271f2c
Upgrade webpack to 5.89.0
Johennes fe46b05
Remove unused extract-text-webpack-plugin
Johennes 25bb2ae
Replace optimize-css-assets-webpack-plugin with css-minimizer-webpack…
Johennes 0a36934
Eliminate use of loader-utils
Johennes f0c5ed8
Appease the linter
Johennes e6ba36d
Merge branch 'develop' into johannes/webpack-5
Johennes ae1d21f
Remove obsolete comment
Johennes 42da986
Only show overlay on build errors
Johennes 37632d8
Eliminate worklet-loader
Johennes 3e03b2e
Appease the linter
Johennes 0584c39
Add defaults and fix comment
Johennes 91f46cc
Disable automatic publicPath to unbreak worklets
Johennes bbd449f
Merge branch 'develop' into johannes/webpack-5
Johennes 432c1d6
Squashed commit of the following:
Johennes 5e9763e
Update mocks for workers / worklets
Johennes a56a226
Merge branch 'develop' into johannes/webpack-5
Johennes 4e32b6f
Update copy-webpack-plugin to latest
Johennes 8dbefcc
Undo auto public path disablement as it doesn't work with workers
Johennes e2fddda
Add custom loader for recorder worklet
Johennes 6093cd8
Move worklet rule up to where it used to be
Johennes f46cdd0
Merge branch 'develop' into johannes/webpack-5
Johennes 37c1c4e
Set es2022 globally but force CommonJS when using ts-node for scripts
Johennes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the equivalent of what
getHashDigest(jsonBuffer, null, "hex", 7)
used to produce. See https://github.com/webpack/loader-utils/blob/62e12f19c1b15779211da5f07b02250852838179/lib/getHashDigest.js#L63 and https://github.com/webpack/webpack/blob/87660921808566ef3b8796f8df61bd79fc026108/lib/util/createHash.js#L149 for details.