How do i configure typescript path mapping? #1246
vladcosorg
started this conversation in
General
Replies: 1 comment 1 reply
-
You can use Vite's alias feature // vitest.config.js
export default {
resolve: {
alias: {
'@' : path.resolve(__dirname, './src')
}
}
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When running the tests, vitest does not find any such paths. Jest had moduleNameMapper, how do i do same thing here?]
Beta Was this translation helpful? Give feedback.
All reactions