Skip to content

Commit 1ddb096

Browse files
committed
Use webpack
1 parent feb4806 commit 1ddb096

File tree

6 files changed

+2603
-2618
lines changed

6 files changed

+2603
-2618
lines changed

.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SKIP_PREFLIGHT_CHECK=true

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,4 +195,5 @@ yarn-error.log*
195195
### FAB ###
196196

197197
/.fab
198-
/fab.zip
198+
/fab.zip
199+
!/.env

fab.config.json5

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
"@fab/input-static": {
55
dir: "build",
66
},
7-
"./api/graphql/index.ts": {},
7+
"@fab/plugin-precompile": {
8+
"./api/graphql/index.ts": {
9+
_config: "./plugin-overrides.js",
10+
},
11+
},
812
"@fab/plugin-render-html": {
913
fallback: "/index.html",
1014
},
@@ -27,5 +31,11 @@
2731
// However, we recommend automatic deploys (triggered by git push)
2832
// using a service such as Linc (https://linc.sh)
2933
// • See https://fab.dev/kb/automatic-deploys for setup instructions.
34+
"cf-workers": {
35+
account_id: "@CF_WORKERS_ACCOUNT_ID",
36+
api_token: "@CF_WORKERS_API_TOKEN",
37+
workers_dev: true,
38+
script_name: "symptomizer",
39+
},
3040
},
3141
}

0 commit comments

Comments
 (0)