electron-userland / electron-compile

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

[Deprecation] CSS cannot be loaded from file: URLs unless they end in a .css file extension. #316

Closed justintaddei closed 5 years ago

justintaddei commented 5 years ago

Updating to the latest version of Electron (3.0.5) seems to break electron-compile.

Styles are no longer loaded and the dev tools console displays this warning: [Deprecation] CSS cannot be loaded from file: URLs unless they end in a .css file extension.

Obviusly this is because the of my app contains

How do I overcome this and still use electron-compile?

ivanreese commented 5 years ago

This seems to be a dupe of #306

justintaddei commented 5 years ago

306 is in regards to the beta release. This is now a problem with the "stable" release due to the release of Electron v3

MarshallOfSound commented 5 years ago

This is duplicate of #306 same issue across multiple versions of Electron

justintaddei commented 5 years ago

Oh. Never mind. This is a duplicate. I should get some sleep 😴