Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC:preset #123

Open
Dianliang233 opened this issue Aug 10, 2022 · 0 comments
Open

RFC:preset #123

Dianliang233 opened this issue Aug 10, 2022 · 0 comments

Comments

@Dianliang233
Copy link
Member

collection 在实际使用中,会冻结启用的模块,使得用户无法轻松修改 collection 启用的模块,UX 迷惑至极。

因此,建议加入 preset。

preset 可包含其他模块,或其他不与本身冲突的 preset。不冲突的 preset 可以同时启用多个。

preset 被启用时,preset 和嵌套的 preset 内包含的所有 module 都在前端被加入模块列表。 若 preset 内包含任何与已启用模块不兼容的模块,则 preset 启用失败,前端需进行提示。builder 库不负责处理 preset。

collection 可能仍需保留,用于处理版本模块(它们本来就不应被用户乱调动)。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant