We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d8ce35 commit 007491dCopy full SHA for 007491d
TODO.txt
@@ -38,12 +38,15 @@ export default nextConfig;
38
#:schema node_modules/wrangler/config-schema.json
39
name = "api"
40
main = ".worker-next/index.mjs"
41
-assets = ".worker-next/assets"
+
42
compatibility_date = "2024-08-29"
43
compatibility_flags = ["nodejs_compat_v2"]
44
workers_dev = true
45
minify = false
46
47
+# Use the new Workers + Assets to host the static frontend files
48
+experimental_assets = { directory = ".worker-next/assets", binding = "ASSETS" }
49
50
# The aliases below should not be needed (we don't want users to have to define the aliases themselves)
51
[alias]
52
# critters is `require`d from `pages.runtime.prod.js` when running wrangler dev, so we need to stub it out
0 commit comments