generated from edmundhung/remix-cloudflare-template
-
Notifications
You must be signed in to change notification settings - Fork 33
/
wrangler.toml
45 lines (37 loc) · 949 Bytes
/
wrangler.toml
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
name = "remix-guide"
type = "javascript"
workers_dev = false
account_id = "c63d756a160ad09cd9a82553c77e9174"
zone_id = "e433232c2f0e3fddcd03a20251740130"
route = "remix.guide/*"
compatibility_date = "2022-11-22"
compatibility_flags = ["streams_enable_constructors"]
[[kv_namespaces]]
binding = "CONTENT"
id = "f1a419c9f5524449b2c0562c7d774dd4"
[site]
bucket = "./public"
entry-point = "."
[durable_objects]
bindings = [
{ name = "RESOURCES_STORE", class_name = "ResourcesStore" },
{ name = "USER_STORE", class_name = "UserStore" },
{ name = "PAGE_STORE", class_name = "PageStore" },
]
[[migrations]]
tag = "v0.1"
new_classes = ["Counter"]
[[migrations]]
tag = "v1.0"
new_classes = ["ResourcesStore", "UserStore"]
deleted_classes = ["Counter"]
[[migrations]]
tag = "v1.1"
new_classes = ["PageStore"]
[build]
command = "npm run build"
watch_dir = "./build/index.js"
[build.upload]
format = "modules"
dir = "./dist"
main = "./worker.mjs"