Static GitHub Issues

[1749] Cannot use external component on Heroku production

prev: Huge memory usage of nuxt-link
next: How do I throw a 404 in a dynamic route when when id does not exist?

I was using "vue-switches" on my nuxt project I can run on my PC without any problem. "npm run build" also working fine.

But when I push to Heroku, it cannot be built. untitled

When remove "vue-switches" from package.json and push to Heroku, then it works.

any solution?

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1571">#c1571</a>)</em></sub></div>