You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# in root directory
./node_modules/.bin/vue-tsc -p fixture
or
# in the "fixture" directory
../node_modules/.bin/vue-tsc
In the first case, the host.rootPath in the Volar module is the working directory (the root of the repo) while in the second case it's (as I'd expect) the fixture directory path.
Shouldn't the host.rootPath be the fixture directory path in both cases?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm not sure if it's a bug so posting it as a question.
In https://github.com/rchl/volar-component-types I saw this behavior that I'm not sure if is a bug or expected.
I get different results whether running:
or
In the first case, the
host.rootPath
in the Volar module is the working directory (the root of the repo) while in the second case it's (as I'd expect) thefixture
directory path.Shouldn't the
host.rootPath
be thefixture
directory path in both cases?Beta Was this translation helpful? Give feedback.
All reactions