提交 a08163b9 编写于 作者: Q qiang

Revert "fix(mp): plugin-create-app.js select main.js"

This reverts commit e6a3fb3b.
上级 f6280541
......@@ -5,8 +5,6 @@ module.exports = function ({
visitor: {
MemberExpression (path, state) {
if (
// main.js main.ts
state.filename.startsWith(require('path').join(process.env.UNI_INPUT_DIR, 'main.')) &&
t.isIdentifier(path.node.property) &&
path.node.property.name === '$mount' &&
!path.node.$createApp
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册