File tree Expand file tree Collapse file tree 2 files changed +6
-30
lines changed
Expand file tree Collapse file tree 2 files changed +6
-30
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "name" : " inbox-note-hub" ,
3+ "type" : " javascript" ,
4+ "compatibility_date" : " 2024-01-01" ,
5+ "pages_build_caching_enabled" : true
6+ }
Original file line number Diff line number Diff line change 11name = " inbox-note-hub"
22type = " javascript"
3- account_id = " "
4- workers_dev = true
5- route = " "
6- zone_id = " "
73compatibility_date = " 2024-01-01"
8-
9- # 配置 Pages 特定选项
10- [env .production ]
11- name = " inbox-note-hub-prod"
12- routes = [
13- { pattern = " card.gudong.site" , zone_name = " gudong.site" }
14- ]
15-
16- # 静态资源缓存策略
17- [build ]
18- command = " npm run build"
19- cwd = " ./"
20- watch_paths = [" src/**/*.ts" , " src/**/*.tsx" , " cards/**/*" ]
21-
22- [env .production .build ]
23- command = " npm run build"
24- cwd = " ./"
25-
26- # 构建输出配置
27- [build .upload ]
28- format = " service-worker"
29-
30- [build .upload .rules ]
31- type = " CompiledContentType"
32- globs = [" **/*.wasm" ]
33- fallthrough = true
You can’t perform that action at this time.
0 commit comments