You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Describe the bug
Cross-post from esbuild: evanw/esbuild#3735
Using low values for lineLimit such as 160 or 80 seems to break dynamic import from Vite as seen in my results below:
Line limit 160:
Line limit 500:
the actual code itself is a function that imports a svelte file:
I don't fully understand the underlying but due to the
"\
it seems like Vite no longer replaces__VITE_PRELOAD__
Reproduction
n/a
Steps to reproduce
Unfortunately I couldn't manage to properly reproduce this issue in a minimal example, but in our large code-base it definitely happens consistently
System Info
Used Package Manager
pnpm
Logs
n/a
Validations
The text was updated successfully, but these errors were encountered: