-
Notifications
You must be signed in to change notification settings - Fork 4
/
now.json
47 lines (47 loc) · 1.74 KB
/
now.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
{
"name": "Easy Peasy Microfrontends",
"version": 2,
"builds": [
{
"src": "packages/home/index.html",
"use": "@now/static"
},
{
"src": "packages/home/static/**/*.*",
"use": "@now/static"
},
{
"src": "packages/pizzamenu/package.json",
"use": "@now/static-build"
},
{
"src": "packages/kernel/package.json",
"use": "@now/static-build"
},
{
"src": "packages/login/package.json",
"use": "@now/static-build"
},
{
"src": "packages/order/package.json",
"use": "@now/static-build"
},
{
"src": "packages/customer/package.json",
"use": "@now/static-build"
}
],
"routes": [
{ "src": "/modules/pizzamenu", "dest": "/packages/pizzamenu/pizzamenu.app.js" },
{ "src": "/modules/kernel", "dest": "/packages/kernel/kernel.js" },
{ "src": "/modules/login", "dest": "/packages/login/login.app.js" },
{ "src": "/modules/order", "dest": "/packages/order/order.app.js" },
{ "src": "/modules/profile", "dest": "/packages/customer/profile.app.js" },
{ "src": "/modules/header", "dest": "/packages/customer/header.app.js" },
{ "src": "/static/(.*)", "dest": "/packages/home/static/$1", "headers": { "Access-Control-Allow-Origin": "*", "cache-control": "s-maxage=60000"} },
{ "src": "/pizzamenu", "dest": "/packages/home/index.html" },
{ "src": "/orderpizza", "dest": "/packages/home/index.html" },
{ "src": "/profile", "dest": "/packages/home/index.html" },
{ "src": "/", "dest": "/packages/home/index.html" }
]
}