Skip to content
New issue

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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Nuxt resolver #3

Closed
manniL opened this issue Feb 6, 2019 · 2 comments
Closed

Use Nuxt resolver #3

manniL opened this issue Feb 6, 2019 · 2 comments

Comments

@manniL
Copy link

manniL commented Feb 6, 2019

Hey 馃憢

I suggest to use the nuxt resolver for resolving paths
https://github.com/nuxt-community/svg-sprite-module/blob/b07a0621a1368ff48fcb33759a8825688cdaf21d/lib/module.js#L17

Example: https://github.com/nuxt-community/style-resources-module/blob/master/lib/module.js#L31

@pi0
Copy link
Contributor

pi0 commented Feb 6, 2019

The resolver needs the directory to exist to be resolved which in this case is not. (Output dir) We have to support an option in nuxt to allow directory resolves. But still is a breaking change for older nuxt users.

@pi0 pi0 closed this as completed Feb 6, 2019
@manniL
Copy link
Author

manniL commented Feb 6, 2019

Whoops, good point there 馃憤

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

No branches or pull requests

2 participants