webpack - Path to static files after packaging -


hello guys have question https://github.com/electron-userland/electron-packager electron packager, understood correctly i've made compiled asar archive, , second thing in case packager took production build of webpack make .dmg file ( working boilerplate https://github.com/chentsulin/electron-react-boilerplate). question is: have simple json file dummy data, after packaging have no idea path file should use. i've tried use npm module unpack asar archive , see happens inside , didn't see anything, after i've tried work extraresources didn't helps me @ all, because after compiled didn't see file in archive. can't understand i've missed. images working great , don't need change path them.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -