Hey everyone!
I have a question on behalf of a friend of mine - we are working on a Vue.js / electron app and I would like to move a section of my code into a module, however I have rather large csv and json files which I need to load during setup (initiated during app launch)
Does anyone know, or have you ever created an NPM package, with these types of data files, and have them auto loaded when a module is loaded? (Anywhere from 5 to 25Mb)
Maybe I am searching for the wrong thing, but everything I find is for loading files from common paths, not within an actual module itself. Plus, I don’t want to have to copy the data files into the main project, I would rather they all stay self contained within the module.
Any pointers or links to example modules would be awesome. Thanks in advance!!