We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
options.alias
In the getExternal() code, there's a naive regexp that resolves "common" src aliases:
getExternal()
Additionally, this has lead to a poor workaround to handle scoped NPM packages:
https://github.com/davestewart/nuxt-areas/blob/main/src/services/areas.js#L145-L156
It would be better to use Nuxt's built-in alias property to resolve aliases, then scoped packages can be handled normally:
https://nuxtjs.org/docs/configuration-glossary/configuration-alias/
Check for all uses of aliases, and implement an appropriate solution.
The text was updated successfully, but these errors were encountered:
davestewart
No branches or pull requests
Background
In the
getExternal()
code, there's a naive regexp that resolves "common" src aliases:Additionally, this has lead to a poor workaround to handle scoped NPM packages:
https://github.com/davestewart/nuxt-areas/blob/main/src/services/areas.js#L145-L156
It would be better to use Nuxt's built-in alias property to resolve aliases, then scoped packages can be handled normally:
https://nuxtjs.org/docs/configuration-glossary/configuration-alias/
Proposal
Check for all uses of aliases, and implement an appropriate solution.
The text was updated successfully, but these errors were encountered: