Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

baseUrl is not taken into consideration when performing path resolution #3

Open
jdalrymple opened this issue Jan 17, 2022 · 0 comments

Comments

@jdalrymple
Copy link

jdalrymple commented Jan 17, 2022

If the baseUrl is anything but the root, the resulting paths are incorrect. Simple fix would be to add the base url path between the absolute path and the alias paths i.e:

baseUrl: ./src
alias: '@components/' : './components/'

resulting path = .../absolute path/{baseUrl}/{aliasPath} = .../absolute path/src/components/

Right now, the resulting path is '.../absolute path/components'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant