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

fix(v3): compatible with native

上级 0a6a70c8
......@@ -154,7 +154,7 @@ const rules = [{
}
].concat(cssLoaders)
if (process.env.UNI_USING_NVUE_COMPILER) {
if (process.env.UNI_USING_NVUE_COMPILER || process.env.UNI_USING_V3_NATIVE) {
rules.unshift({
resourceQuery: function (query) {
return query.indexOf('vue&type=template') !== -1 && query.indexOf('mpType=page') !== -1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册