electron-userland / electron-compile

DEPRECATED: Electron supporting package to compile JS and CSS in Electron applications
1.01k stars 99 forks source link

Define list of MIME types to passthrough (for #167) #198

Open jacobq opened 7 years ago

jacobq commented 7 years ago

I'd really like to be able to avoid warnings or errors when my application builds. In my case there are some XML files that should not be processed by electron-compile at all, but I can't seem to specify this anywhere. Since the meaning of application/xml content is application specific I suspect there is little, if any, translation that should be done (perhaps the condensing of white space?), might it make sense to have these be ignored by default?

I'm not familiar with your codebase, but it looks like something like this should work for this purpose, right?