We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refs: https://nodejs.org/api/packages.html#subpath-imports
I was using
the package.json imports:
{ "imports": { "#@": "./src/" }, }
import { actuator } from '#@/actuator.js'
got the err:
FAIL __tests__/actuator.spec.ts [ __tests__/actuator.spec.ts ] Error: [vite-node] Failed to load #@/actuator.js
just load the module successfully.
n/w
No response
The text was updated successfully, but these errors were encountered:
We are using Vite's resolveId function on pluginContainer, so this is more about Vite's support. Please, open an issue in their repository.
resolveId
pluginContainer
Sorry, something went wrong.
Please, follow this PR in Vite, if you are interested in this feature: vitejs/vite#7770
"imports"
package.json
Should be supported since vitejs/vite#7770
No branches or pull requests
Clear and concise description of the problem
refs: https://nodejs.org/api/packages.html#subpath-imports
I was using
the package.json imports:
got the err:
FAIL __tests__/actuator.spec.ts [ __tests__/actuator.spec.ts ] Error: [vite-node] Failed to load #@/actuator.js
Suggested solution
just load the module successfully.
Alternative
n/w
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: