Skip to content

Move src and app aliases to the end of path section in .quasar/tsconfig.json #18075

@FragsterAt

Description

@FragsterAt

What happened?

They placed at the beginning of path section, so automatic imports (at least in vs code) starts with 'src/...

What did you expect to happen?

If they'll be moved to the end of path section, automatic imports finds first more compact variant of import, i.e. stores/store instead of src/stores/store, that makes code less 'noisy'.

Reproduction URL

https://stackblitz.com/edit/quasarframework-stackblitz-templates-dtyc5iwp?file=src%2Fpages%2FIndexPage.vue&title=Quasar%20Framework%20-%20app-vite%20v2

How to reproduce?

delete .quasar folder in project
run npx quasar prepare
look in .quasar/tsconfig.json

Image

this must be at the end of section for short auto imports

Flavour

Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)

Areas

Quasar CLI Commands/Configuration (@quasar/cli | @quasar/app-webpack | @quasar/app-vite)

Platforms/Browsers

No response

Quasar info output

Relevant log output

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions