Static GitHub Issues

[2088] How to exclude dev resources on production generate

prev: v-for doesn't work with nuxt-link
next: Using ES6 features server-side

We have a number of json files we use for api mocking. They are in static folder. How to exclude them from nuxt generate on production env?

<!--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/c1853">#c1853</a>)</em></sub></div>