-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed as not planned
Milestone
Description
Describe the problem
I want to run a node test runner to test parts of my application, but it doesn't understand the "$lib" type aliases.
I tried the node package module-alias but it appears difficult to use with es6.
Node already has support for subpath aliases, but they must begin with "#", so currently I am changing the sveltekit to use "#lib" via :
vite: {
resolve: {
alias: {
'#lib': path.resolve('./src/lib')
}
}
}
which is not a bad solution, but perhaps parity with node should be the default?
Describe the proposed solution
"$lib" changed to "#lib"
Alternatives considered
No response
Importance
would make my life easier
Additional Information
No response