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
Describe the solution you'd like
add bundler to the list of allowed moduleResolution options
Preprocessing failed
Error: error TS6046: Argument for '--moduleResolution' option must be: 'node', 'classic', 'node16', 'nodenext'.
Describe alternatives you've considered nodenext which enforces .js file extensions in imports. this breaks many of my dependencies because they assume this isn't needed
How important is this feature to you?
very. none of the other moduleResolution options work for my project:
node and classic are for old commonjs projects
node16/nodenext doesn't work since some of my dependencies don't include file extensions when importing their own files
The text was updated successfully, but these errors were encountered:
svelte-preprocess is not checking any of these flags, it sounds like you have an old TS version in your project somewhere. If you still think this is a svelte-preprocess error, please provide a reproduction repo.
Uh oh!
There was an error while loading. Please reload this page.
Is your feature request related to a problem? Please describe.
typescript 5.0 added the new "Bundler" module resolution mode: https://www.typescriptlang.org/tsconfig#moduleResolution
Describe the solution you'd like
add
bundler
to the list of allowedmoduleResolution
optionsDescribe alternatives you've considered
nodenext
which enforces.js
file extensions in imports. this breaks many of my dependencies because they assume this isn't neededHow important is this feature to you?
very. none of the other
moduleResolution
options work for my project:node
andclassic
are for old commonjs projectsnode16
/nodenext
doesn't work since some of my dependencies don't include file extensions when importing their own filesThe text was updated successfully, but these errors were encountered: