-
Notifications
You must be signed in to change notification settings - Fork 0
/
fastpage.config.js
57 lines (55 loc) · 1.43 KB
/
fastpage.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
var config = {
page: {
tempPath: 'webapp/s_tpl',
list: [
{
key: 'tpl',
path: 'webapp/WEB-INF/view',
tempPath: ['index.ftl'],
name: ['index.ftl']
},
{
key: 'mcss',
path: 'webapp/src/mcss',
tempPath: ['main.mcss'],
name: ['main.mcss']
},
{
key: 'js',
path: 'webapp/src/page',
tempPath: ['entry.js'],
name: ['entry.js']
},
{
key: 'jsCom',
path: 'webapp/src/page',
path2: 'components',
tempPath: ['index.js', 'index.html'],
name: ['index.js', 'index.html']
}
],
mcssTopLevel: true,
replaceList: [
{
rex: '~value~',
global: true,
str: 'replace value'
}
]
},
modal: {
tempPath: 'webapp/s_tpl/modal',
list: [
{
key: 'jsCom',
path: 'webapp/src/page',
path2: 'components/modal',
tempPath: ['index.js', 'index.html'],
name: ['index.js', 'index.html']
}
],
mcssTopLevel: false,
replaceList: []
}
};
module.exports = config;