mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 02:41:09 +00:00
add wrangler.toml [#80]
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"deploy": "wrangler publish",
|
||||
"test": "node -r esbuild-runner/register src/index.test.ts",
|
||||
"tsc": "tsc --watch",
|
||||
"build": "wrangler publish src/index.ts --outdir dist --dry-run"
|
||||
"build": "wrangler publish --outdir dist --dry-run"
|
||||
},
|
||||
"dependencies": {
|
||||
"esbuild-runner": "^2.2.2",
|
||||
|
||||
8
serverless/cloudflare/wrangler.toml
Normal file
8
serverless/cloudflare/wrangler.toml
Normal file
@@ -0,0 +1,8 @@
|
||||
name = "pmtiles-cloudflare"
|
||||
main = "src/index.ts"
|
||||
compatibility_date = "2022-10-18"
|
||||
|
||||
# Replace the bucket names with your own
|
||||
r2_buckets = [
|
||||
{ binding = "BUCKET", preview_bucket_name = "my-bucket-development", bucket_name = "my-bucket-production" }
|
||||
]
|
||||
Reference in New Issue
Block a user