Skip to content

Conversation

@Timeless0911
Copy link
Contributor

Summary

The priorities from high to low are as follows:

  1. userConfig: users can configure any Rsbuild and Rspack config
  2. libRsbuildConfig: the configuration that we compose from Rslib unique config and userConfig from 1
  3. internalRsbuildConfig: the built-in best practice Rsbuild configuration we provide in Rslib

We should state in the document that the built-in configuration should not be changed optionally

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@Timeless0911 Timeless0911 requested a review from fi3ework August 27, 2024 10:00
@Timeless0911 Timeless0911 changed the title Feat/user config feat: modify merge config order Aug 27, 2024
@fi3ework fi3ework merged commit 4b5f674 into main Aug 28, 2024
@fi3ework fi3ework deleted the feat/user-config branch August 28, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants