Closed mdrx-io closed 7 years ago
Issue here isn't the passthrough, it's the fact you are trying to load a file from outside your app. This is normally an unsafe thing to do so electron-compile
prevents you doing this in production.
If you want to override this you need to tell electron-compile
to completely ignore certain paths / file types.
I haven't seen it used in any examples beside "application/javascript". But I am personally looking for a workaround to a compilation error for Flash (.swf) files that I believe is indicating that electron-compile is trying to compile but does not know how to.