We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
统一处理 spm 的入参
数据来源
优先级:命令行 > package.json > spmrc > 默认
package.json 参数分为几类,都在 spm 字段中
输出 object
{ hooks: { // 会返回所有 hook prepublish: 'bump -p', prebuild: 'less *.less' }, commands: { // 总是存在,列出所有的命令 build: { include: 'all', global: { jquery: 'jQuery' } } } // 一些全局配置 registry: '', // 构建第三方配置,不一定存在 less: {} }
The text was updated successfully, but these errors were encountered:
👍
Sorry, something went wrong.
好,这个可以移到 3.4
commands 这一层不要了吧,build, server 都提到上面来。
好
No branches or pull requests
统一处理 spm 的入参
数据来源
优先级:命令行 > package.json > spmrc > 默认
package.json 参数分为几类,都在 spm 字段中
输出 object
The text was updated successfully, but these errors were encountered: