Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork724
Configuration merge#4093
-
If I need multiple configurations to merge when I use @ rspack/core to call through api, can I provide a mergeConfig api function to merge configuration files? constnewConfig=mergeConfig(config1,config2, ....) |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 2 comments 5 replies
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
actually webpack supports extends which is for thishttps://webpack.js.org/configuration/extending-configurations/#extends , we can support this in future |
BetaWas this translation helpful?Give feedback.
All reactions
-
or you can use webpack-merge directly |
BetaWas this translation helpful?Give feedback.
All reactions
-
I'm afraid it's not perfectly compatible. |
BetaWas this translation helpful?Give feedback.
All reactions
-
why is it not compatible? |
BetaWas this translation helpful?Give feedback.
All reactions
-
also wondering what's wrong with webpack-merge.https://rspack.rs/config/#merge-configurations even recommends it so if it's not compatible in some ways the docs should be clarified |
BetaWas this translation helpful?Give feedback.
All reactions
-
@dgoldstein0 |
BetaWas this translation helpful?Give feedback.
All reactions
-
related:#11408 |
BetaWas this translation helpful?Give feedback.