aboutsummaryrefslogtreecommitdiff
path: root/wrangler.toml
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-03-20 01:28:42 -0700
committerFuwn <[email protected]>2022-03-20 01:28:42 -0700
commit03f2c8e35ba70c9d9496fd5ad5403520f7ebdc53 (patch)
tree568e508aff6db6325719abcb2c601520264c5de4 /wrangler.toml
downloadgraphql-api-03f2c8e35ba70c9d9496fd5ad5403520f7ebdc53.tar.xz
graphql-api-03f2c8e35ba70c9d9496fd5ad5403520f7ebdc53.zip
feat: 0.1.0 :star:
Diffstat (limited to 'wrangler.toml')
-rw-r--r--wrangler.toml21
1 files changed, 21 insertions, 0 deletions
diff --git a/wrangler.toml b/wrangler.toml
new file mode 100644
index 0000000..7e51dea
--- /dev/null
+++ b/wrangler.toml
@@ -0,0 +1,21 @@
+# https://developers.cloudflare.com/workers/cli-wrangler/configuration
+
+compatibility_date = "2022-03-20"
+name = "senpy-club-graphql-api"
+route = "graphql.senpy.club/*"
+type = "webpack"
+webpack_config = "webpack.config.js"
+workers_dev = true
+zone_id = "6cfc06f5d960d7cb0cd823528399cbf5"
+
+[[kv-namespaces]]
+binding = "WORKERS_GRAPHQL_CACHE"
+id = "5c321fd07abf4f20946c750dab02985e"
+preview_id = "5c321fd07abf4f20946c750dab02985e"
+
+[build]
+command = "npm install && npm run build"
+
+[build.upload]
+format = "modules"
+main = "./src/index.js"