-
Notifications
You must be signed in to change notification settings - Fork 0
/
fab.config.json5
39 lines (39 loc) · 1.29 KB
/
fab.config.json5
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
// For more information, see https://fab.dev/kb/configuration
{
plugins: {
"@fab/input-static": {
dir: "build",
},
"@fab/plugin-precompile": {
"./api/index.ts": {
_config: "./plugin-overrides.js",
},
},
"@fab/plugin-render-html": {
fallback: "/index.html",
},
"@fab/plugin-rewire-assets": {},
// This section defines your build & runtime toolchains. See https://fab.dev/kb/plugins
},
settings: {
// This section defines the variables that are injected, depending on environment.
// See https://fab.dev/kb/settings for more info.
production: {
// This environment is special. These variables get compiled into the FAB itself,
// allowing for many production-specific optimisations. See https://fab.dev/kb/production
// Example setting:
// API_URL: 'https://api.example.com/graphql'
ENV: "production",
},
staging: {
ENV: "staging",
},
},
deploy: {
// For manual (command-line) deploys, add configuration here.
// • See https://fab.dev/guides/deploying for more info.
// However, we recommend automatic deploys (triggered by git push)
// using a service such as Linc (https://linc.sh)
// • See https://fab.dev/kb/automatic-deploys for setup instructions.
},
}