Skip to content

Commit 4c8ad4d

Browse files
committed
fix(alita): 修复 多次修改入口文件,生成重复page配置的bug
1 parent 67086e0 commit 4c8ad4d

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/entrytran/handleEntry.ts

+11-11
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@ import {geneOrder} from '../util/util'
1717
import configure from '../configure'
1818

1919

20-
const appJSON: any = {
21-
pages: [
22-
],
23-
24-
window: {
25-
"backgroundTextStyle":"light",
26-
'backgroundColor': '#E9E9E9',
27-
'enablePullDownRefresh': false,
28-
},
29-
}
30-
3120
export default function (ast, filepath, webpackContext) {
3221

22+
const appJSON: any = {
23+
pages: [
24+
],
25+
26+
window: {
27+
"backgroundTextStyle":"light",
28+
'backgroundColor': '#E9E9E9',
29+
'enablePullDownRefresh': false,
30+
},
31+
}
32+
3333
const historyMap = {}
3434
const pageCompPaths = []
3535

0 commit comments

Comments
 (0)