-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[breaking] drop Wrangler 1 support in favour of Wrangler 2 (#4887)
* wrangler 2 support * update demo wrangler.toml * changeset * Update .changeset/little-pots-rule.md * empty commit * note wrangler 2 dependency
- Loading branch information
1 parent
3b83249
commit a811a8a
Showing
4 changed files
with
49 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@sveltejs/adapter-cloudflare-workers': patch | ||
--- | ||
|
||
[breaking] support Wrangler 2, drop Wrangler 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
name = "svelte-kit-demo" | ||
type = "webpack" | ||
account_id = "32a8245cd45a24083dd0acae1d482048" | ||
workers_dev = true | ||
route = "" | ||
zone_id = "" | ||
route = "cloudflare-workers-demo.svelte.dev/*" | ||
|
||
main = "./.cloudflare/worker.js" | ||
site.bucket = "./.cloudflare/public" | ||
|
||
[site] | ||
bucket = "./.cloudflare/assets" | ||
entry-point = "./.cloudflare/worker" | ||
build.command = "npm run build" | ||
|
||
compatibility_date = "2021-11-12" | ||
workers_dev = true | ||
|
||
[build] | ||
upload = { format = "service-worker" } |