diff --git a/TODO.txt b/TODO.txt index 9a5e0428e..56a2232fc 100644 --- a/TODO.txt +++ b/TODO.txt @@ -38,12 +38,15 @@ export default nextConfig; #:schema node_modules/wrangler/config-schema.json name = "api" main = ".worker-next/index.mjs" -assets = ".worker-next/assets" + compatibility_date = "2024-08-29" compatibility_flags = ["nodejs_compat_v2"] workers_dev = true minify = false +# Use the new Workers + Assets to host the static frontend files +experimental_assets = { directory = ".worker-next/assets", binding = "ASSETS" } + # The aliases below should not be needed (we don't want users to have to define the aliases themselves) [alias] # critters is `require`d from `pages.runtime.prod.js` when running wrangler dev, so we need to stub it out