You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR updates the default devtool configuration for Rspack, aligning the core library defaults with CLI defaults and changing production mode behavior. The changes are marked as breaking with feat! in the PR title.
Changes:
Changed development mode default from 'eval' to 'cheap-module-source-map' in the core library (aligning with existing CLI default)
Changed production mode default from 'source-map' to false in the CLI (aligning with existing core library default)
Updated documentation to remove eval-based devtool options from development recommendations and reflect new production default
No successful run was found on main (a79dab7) during the generation of this report, so 601bf3b was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩
This file contains hidden or 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
release: featurerelease: feature related release(mr only)teamThe issue/pr is created by the member of Rspack.
3 participants
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.
Summary
This PR updates the default
devtoolconfiguration for Rspack, aligning the core library defaults with CLI defaults and changing production mode behavior. The changes are marked as breaking with feat! in the PR title.Changes:
'eval'to'cheap-module-source-map'in the core library (aligning with existing CLI default)'source-map'to false in the CLI (aligning with existing core library default)devtooloptions from development recommendations and reflect new production defaultRelated links
Checklist