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.
💡 Highlights
Faster
eval-source-map
eval-source-map
is now 80% faster than the previous version, see #7630.HtmlRspackPlugin Escape Syntax
Now HtmlRspackPlugin uses the same syntax as html-webpack-plugin to escape a value. This can help you migrate from
html-webpack-plugin
toHtmlRspackPlugin
more smoothly.<%=
to escape the value,<%-
does not escape the value.<%-
to escape the value,<%=
does not escape the value.For example, if a template value is
<div>Rspack</div>
, the current output will be:What's Changed
Breaking Changes 🛠
optimization.emitOnErrors
by @LingyuCoder in feat!: supportoptimization.emitOnErrors
#7595Performance Improvements ⚡
Exciting New Features 🎉
Bug Fixes 🐞
compiler.inputFileSystem
type by @chenjiahan in fix: missingcompiler.inputFileSystem
type #7597null
andundefined
in EnvironmentPlugin by @colinaaa in fix: allownull
andundefined
in EnvironmentPlugin #7617builtin:swc-loader
source maps ifinputSourceMap
is provided by @h-a-n-a in fix: wrongbuiltin:swc-loader
source maps ifinputSourceMap
is provided #7654Document Updates 📖
Other Changes
Compilation.updateAsset
comment by @h-a-n-a in chore: removeCompilation.updateAsset
comment #7628New Contributors
Full Changelog: v1.0.0-beta.5...v1.0.0-rc.0