提交 4d5f9c87 编写于 作者: fxy060608's avatar fxy060608

chore(cli): add v3

上级 390a0cf0
...@@ -203,7 +203,7 @@ if (process.env.UNI_USING_NATIVE) { ...@@ -203,7 +203,7 @@ if (process.env.UNI_USING_NATIVE) {
if (process.env.UNI_PLATFORM === 'app-plus') { if (process.env.UNI_PLATFORM === 'app-plus') {
const pagesPkg = require('@dcloudio/webpack-uni-pages-loader/package.json') const pagesPkg = require('@dcloudio/webpack-uni-pages-loader/package.json')
if (pagesPkg) { if (pagesPkg) {
info = '编译器版本:' + pagesPkg['uni-app']['compilerVersion'] info = '编译器版本:' + pagesPkg['uni-app']['compilerVersion'] + (process.env.UNI_USING_V3 ? '(v3)' : '')
} }
const glob = require('glob') const glob = require('glob')
if (glob.sync('pages/**/*.nvue', { if (glob.sync('pages/**/*.nvue', {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册