Closed DetachHead closed 9 months ago
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.
yeah you're right, i thought i updated to typescript 5 but i was still on 4.9
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 files