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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Providers not being built into nuxt output #1264
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue
When running a production build of the application where the
node_modules
have been pruned vianpm prune --production
, if you don't includeipx
in the "dependencies" section of your package.json, the application will fail to load images and if you check the network tab, the following error is listed for the image resources. Even installingipx
as adevDepdendency
fails in the final build if node_modules are not present. Im assuming the ipx lib is not being built into the final nuxt output.Current Workaround
Installing the
ipx
library as adependency
and NOT adevDependency
seems to remedy the issue.Not working package.json
Working
The text was updated successfully, but these errors were encountered: