Using absolute path as baseTypesPath in near-operation-file #4924
Answered
by
ASafaeirad
ASafaeirad
asked this question in
Q&A
-
I found a weird behavior in the I use import query from '@/query/foo.ts' I've tried to reach same behavior in the presetConfig:
extension: .ts
baseTypesPath: '@/types' which generates: import * as Types from './@/types'; but I need import * as Types from '@/types'; Can I force |
Beta Was this translation helpful? Give feedback.
Answered by
ASafaeirad
Oct 18, 2020
Replies: 1 comment 1 reply
-
I found my answer here It should start with baseTypesPath: '~@/types' But, I can't find that in the documentation. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ASafaeirad
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found my answer here
It should start with
~
to be considered an absolute path.But, I can't find that in the documentation.