Skip to content

Commit

Permalink
chore: enable new ReadableStream() via wrangler.toml
Browse files Browse the repository at this point in the history
Signed-off-by: Logan McAnsh <logan@mcan.sh>
  • Loading branch information
mcansh committed Jan 24, 2023
1 parent cb7749f commit 44ed5fa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions integration/helpers/cf-template/wrangler.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name = "remix-cloudflare-workers"
type = "javascript"
compatibility_date = "2022-04-05"
compatibility_flags = ["streams_enable_constructors"]

zone_id = ""
account_id = ""
Expand Down
2 changes: 2 additions & 0 deletions templates/cloudflare-pages/wrangler.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
compatibility_date = "2022-04-05"
compatibility_flags = ["streams_enable_constructors"]
2 changes: 2 additions & 0 deletions templates/cloudflare-workers/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ workers_dev = true
main = "./build/index.js"
# https://developers.cloudflare.com/workers/platform/compatibility-dates
compatibility_date = "2022-04-05"
compatibility_flags = ["streams_enable_constructors"]

[site]
bucket = "./public"

[build]
command = "npm run build"

0 comments on commit 44ed5fa

Please sign in to comment.