We've been chatting about this issue and trying to resolve it, and I think I've actually narrowed it down to electron-prebuilt-compile, and not electron-compile like we originally thought.
This is because, while the text/less file gets run and rendered by Electron correctly, the text/css file with the background: red !important declaration does not.
At this point, I have to admit I have no idea what is going on here.
Edit: Hold on a second, I may have just run electron with the master branch and am confirming I'm reporting this correctly.
We've been chatting about this issue and trying to resolve it, and I think I've actually narrowed it down to
electron-prebuilt-compile
, and notelectron-compile
like we originally thought.Check out this repo: https://github.com/aendrew/electron-compile-no-css-example
In master, I bootstrap
electron-compile
withoutelectron-prebuilt-compile
and the square turns red when I build the app.If I use
electron-prebuilt-compile
(as in thewith-prebuilt-compile
branch), the square stays green.This is because, while the
text/less
file gets run and rendered by Electron correctly, thetext/css
file with thebackground: red !important
declaration does not.At this point, I have to admit I have no idea what is going on here.
Edit: Hold on a second, I may have just run
electron
with themaster
branch and am confirming I'm reporting this correctly.