提交 46a25907 编写于 作者: fxy060608's avatar fxy060608

fix(cli): version

上级 dbcd7a6d
module.exports = (api, options, rootOptions) => {
let version = '*'
const mainVersion = require('./package.json').version
if (mainVersion.indexOf('alpha') !== -1) {
version = '^' + mainVersion
}
const version = '^' + mainVersion
api.extendPackage(pkg => {
delete pkg.postcss
delete pkg.browserslist
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册