-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.json
47 lines (47 loc) · 1.12 KB
/
build.json
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
{
"plugins": [
[
"build-plugin-rax-app",
{
"targets": ["web", "weex", "kraken", "miniapp", "wechat-miniprogram"]
}
],
[
"build-plugin-rax-faas",
{
"aliyunConfig": {
"id": "zkc",
"region": "cn-hangzhou"
},
"functionGroup": {
"name": "raxFaaS",
"root": "src/api",
"functions": {
"user": {
"path": "user"
}
}
}
}
],
[
"rax-plugin-pwa", {
"snapshot": true,
"serviceWorker": {
"preCacheUrlList": ["https://img.alicdn.com/tfs/rax.png"],
"savedCachePatternList": ["/my-app\/.+/i"]
},
"manifest": {
"name": "My Progressive Web App",
"short_name": "MyPWA",
"description": "My awesome Progressive Web App!",
"background_color": "#ffffff",
"icon": "src/public/icon.png",
"start_url": "//market.m.taobao.com/app/mtb/rax-pwa-demo/web/index.html#/",
"display": "standalone"
}
}
],
"build-plugin-rax-ssr"
]
}