-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(webpack, rspack): support multiple configurations (#29691)
This pull request includes changes to support multi-configuration mode for both Rspack and Webpack. ## Currently Currently our plugin only supports single configurations ```js module.exports = { ...config } ``` Which works in most cases but some applications can have mutliple configs that serve different platforms. ## Changes With these changes, the Webpack and Rspack plugins will also support multi-configuration. ```js module.exports = [ { ...clientConfig }, { ...serverConfig } ]
- Loading branch information
1 parent
123602c
commit 7524356
Showing
5 changed files
with
358 additions
and
87 deletions.
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 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.