Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 BUG: [alias] no longer working in wrangler dev in v3.80.0 #6898

Closed
mhart opened this issue Oct 5, 2024 · 0 comments · Fixed by #6903 or #6907
Closed

🐛 BUG: [alias] no longer working in wrangler dev in v3.80.0 #6898

mhart opened this issue Oct 5, 2024 · 0 comments · Fixed by #6903 or #6907
Labels
bug Something that isn't working

Comments

@mhart
Copy link
Contributor

mhart commented Oct 5, 2024

Which Cloudflare product(s) does this pertain to?

Wrangler

What version(s) of the tool(s) are you using?

3.80.0

What operating system and version are you using?

Mac Sonoma 14.6.1

Describe the Bug

The following works fine in v3.79.0:

[alias]
"critters" = "./my-shim.mjs"
"@opentelemetry/api" = "./my-shim.mjs"

But in v3.80.0 it errors in wrangler dev as if the aliases have no effect:

✘ [ERROR] Could not resolve "critters"
# etc...

Using --x-dev-env=false fixes/resolves the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that isn't working
Projects
None yet
1 participant