Electron-builder: Compiling with xml files

Created on 3 Jul 2017  路  2Comments  路  Source: electron-userland/electron-builder

Version: "electron-builder": "^19.11.1",

Hi!
I am assembling project with ember-electron, and I want to use electron-builder to make .app and .dmg to use electron-updater, and when I compile with "build --mac" my app directory assembled, I get the following error:

Error: Compiling myproject/electron-out/project/ember/crossdomain.xml resulted in a MIME type of application/xml, which we don't know how to handle.

I know that ember-electron uses electron-compile and is skipping the warning/error:
https://github.com/electron/electron-compile/issues/167

Can be the same here?

Thanks

backlog help wanted investigate

Most helpful comment

Thanks!

I have this error now:

Error: Found compiler settings for missing compiler: application/xml

All 2 comments

Please try to add to .compilerc new entry:

  "application/xml": {
    "passthrough": true
  }

Thanks!

I have this error now:

Error: Found compiler settings for missing compiler: application/xml

Was this page helpful?
0 / 5 - 0 ratings