Static GitHub Issues

[289] how to import `fs` inside ./store/index.js

prev: Question about data access (resource/service)
next: How to include aws-sdk in nuxt.config.js

I'm trying to call Google Drive API to fill my store with data. But sadly I have no success to import fs, googleapis because Webpack tries to bundle them without any reasons.

I'm looking for some way to interrupt futile attempts of Webpack to bundle my server code.

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