quasar icon indicating copy to clipboard operation
quasar copied to clipboard

fix(app-vite&app-webpack): move `src` and `app` aliases to the end of tsconfig paths (fix: #18075)

Open FragsterAt opened this issue 7 months ago • 2 comments

fixes

https://github.com/quasarframework/quasar/issues/18075

by sorting object keys in types-generator.ts

FragsterAt avatar Jul 22 '25 10:07 FragsterAt

@yusufkandemir , I think, my solution is the simpliest, because the other way is to change quassar-config-file.js to use merge build.config.alias in different order - at first - default aliases for components, stores, etc, next aliases from config and at the end - #q-app, src, app. something like that:

изображение

in this case src and app aliases are staying before #q-app/wrappers and others (but it doesn't seem to matter).

If you prefer that way - I can make changes in pr.

FragsterAt avatar Jul 23 '25 07:07 FragsterAt

the negative effect is the impossibility of changing the aliases of src and app (#q-app will be overwritten in any case)

FragsterAt avatar Jul 23 '25 07:07 FragsterAt