fix: exclude virtual:emdash from optimizeDeps to fix npm installs on Cloudflare
This commit is contained in:
5
.changeset/fix-virtual-module-optimizedeps.md
Normal file
5
.changeset/fix-virtual-module-optimizedeps.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"emdash": patch
|
||||
---
|
||||
|
||||
Fix virtual module resolution errors when emdash is installed from npm on Cloudflare. The esbuild dependency pre-bundler was encountering `virtual:emdash/*` imports while crawling dist files and failing to resolve them. These are now excluded from the optimizeDeps scan.
|
||||
Reference in New Issue
Block a user