Planned breaking changes for Rspack 2.0 #9270
Replies: 7 comments 3 replies
-
Make
|
Beta Was this translation helpful? Give feedback.
-
Enable
|
Beta Was this translation helpful? Give feedback.
-
Drop Node 18 supportNode.js 18 and all earlier versions are End-Of-Life since April 30, 2025, see https://nodejs.org/en/blog/announcements/node-18-eol-support
Ref: |
Beta Was this translation helpful? Give feedback.
-
Remove
|
Beta Was this translation helpful? Give feedback.
-
Simplify
|
Beta Was this translation helpful? Give feedback.
-
Default options of
|
Beta Was this translation helpful? Give feedback.
-
Consider ignoring aliased dynamic requireWe're considering skipping aliased dynamic require by default, which would help reduce bundle size for libraries like moment.js and align with other bundlers' behavior, though whether this should be changed remains open for discussion. var aliasRequire = require
aliasRequire('./locale' + name)
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This topic is used to collect and discuss breaking changes planned for Rspack 2.0.
Please note that we do not have a clear timeline for Rspack 2.0 yet.
Example:
RSPACK_CONFIG_VALIDATE
environment variable and enable it by defaultBeta Was this translation helpful? Give feedback.
All reactions