File tree 1 file changed +0
-10
lines changed
1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,3 @@ workers_dev = true
7
7
minify = false # let's disable minification for easier debuggability
8
8
9
9
experimental_assets = { directory = " .worker-next/assets" , binding = " ASSETS" }
10
-
11
- # The aliases below should not be needed (we don't want users to have to define the aliases themselves)
12
- [alias ]
13
- # critters is `require`d from `pages.runtime.prod.js` when running wrangler dev, so we need to stub it out
14
- "critters" = " ../../builder/src/build/build-worker/templates/shims/empty.ts"
15
- # @opentelemetry/api is `require`d when running wrangler dev, so we need to stub it out
16
- # IMPORTANT: we shim @opentelemetry/api to the throwing shim so that it will throw right away, this is so that we throw inside the
17
- # try block here: https://github.com/vercel/next.js/blob/9e8266a7/packages/next/src/server/lib/trace/tracer.ts#L27-L31
18
- # causing the code to require the 'next/dist/compiled/@opentelemetry/api' module instead (which properly works)
19
- "@opentelemetry/api" = " ../../builder/src/build/build-worker/templates/shims/throw.ts"
You can’t perform that action at this time.
0 commit comments