From 2a1ac5751e4391251431b88feb83afbd358c8de1 Mon Sep 17 00:00:00 2001 From: Pedro Cattori Date: Wed, 7 Feb 2024 10:44:35 -0500 Subject: [PATCH] changeset --- .changeset/brown-rats-flow.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .changeset/brown-rats-flow.md diff --git a/.changeset/brown-rats-flow.md b/.changeset/brown-rats-flow.md new file mode 100644 index 00000000000..85cb43486b7 --- /dev/null +++ b/.changeset/brown-rats-flow.md @@ -0,0 +1,8 @@ +--- +"@remix-run/cloudflare-pages": minor +--- + +Make `getLoadContext` optional for Cloudflare Pages + +Defaults to `(context) => ({ env: context })`, which is what we used to have in all the templates. +This gives parity with the Cloudflare preset for the Remix Vite plugin and keeps our templates leaner.