We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
在 build-scripts 2.0 设计中支持的 plugin 设置包括以下两种:
PluginOption 的类型名称定位上不够清晰,跟其内部的 plugin 关系有重叠
备选方案:
统一导出 plugins 配置类型: type Plugin = PluginOption | PluginLegacy | [string, object] PluginOption 包含 { name, setup, runtime } / { name, config, runtime }
{ name, setup, runtime }
{ name, config, runtime }
The text was updated successfully, but these errors were encountered:
type Plugin = _Plugin | PluginLegacy; interface _Plugin { name: string; setup?: Setup; runtime?: string; } PluginLegacy 就是兼容之前各种类型, 但是不推荐的
Sorry, something went wrong.
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
在 build-scripts 2.0 设计中支持的 plugin 设置包括以下两种:
PluginOption 的类型名称定位上不够清晰,跟其内部的 plugin 关系有重叠
备选方案:
统一导出 plugins 配置类型: type Plugin = PluginOption | PluginLegacy | [string, object]
PluginOption 包含
{ name, setup, runtime }
/{ name, config, runtime }
The text was updated successfully, but these errors were encountered: