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

wip(uts): compiler

上级 a036e37b
......@@ -81,6 +81,7 @@ function resolveUTSCompiler() {
}
catch (e) { }
}
if (!compilerPath) {
try {
compilerPath = require.resolve('@dcloudio/uni-uts-v1', {
paths: [process.env.UNI_CLI_CONTEXT],
......@@ -90,6 +91,7 @@ function resolveUTSCompiler() {
console.error((0, utils_1.installDepTips)('devDependencies', '@dcloudio/uni-uts-v1', require('@dcloudio/uni-cli-shared/package.json').version));
process.exit(0);
}
}
return require(compilerPath);
}
exports.resolveUTSCompiler = resolveUTSCompiler;
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册