Skip to content

Commit 54c1a08

Browse files
committed
fix(alita): 修复入口文件.wx.js 结尾的bug
1 parent 268b370 commit 54c1a08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tran/geneJS.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Component(WxNormalComp())
3030
entryRelativePath = getRelativePath(finalJSPath, entryFilePath)
3131
}
3232

33-
const RNAppCode = (entryFilePath ? `import RNApp from "${entryRelativePath}"` : `const RNApp = {}`)
33+
const RNAppCode = `const RNApp = {}`
3434

3535

3636
const renderCompCode = `import CompMySelf from "./${compFilename}.comp"

0 commit comments

Comments
 (0)