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

fix: tests

上级 4fd49438
...@@ -104,11 +104,12 @@ function normalizeSubpackages( ...@@ -104,11 +104,12 @@ function normalizeSubpackages(
function normalizePageStyle( function normalizePageStyle(
pagePath: string | null, pagePath: string | null,
pageStyle: UniApp.PagesJsonPageStyle, pageStyle: UniApp.PagesJsonPageStyle | undefined,
platform: UniApp.PLATFORM platform: UniApp.PLATFORM
) { ) {
const isNVue = const isNVue =
pagePath && pagePath &&
process.env.UNI_INPUT_DIR &&
process.env.UNI_NVUE_COMPILER !== 'vue' && process.env.UNI_NVUE_COMPILER !== 'vue' &&
fs.existsSync(path.join(process.env.UNI_INPUT_DIR, pagePath + '.nvue')) fs.existsSync(path.join(process.env.UNI_INPUT_DIR, pagePath + '.nvue'))
? true ? true
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册