electron-userland / electron-prebuilt-compile

electron-prebuilt with Babel and React built-in
167 stars 50 forks source link

Using text/css breaks ability of built app to serve CSS files #8

Closed aendra-rininsland closed 8 years ago

aendra-rininsland commented 8 years ago

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.

Check out this repo: https://github.com/aendrew/electron-compile-no-css-example

In master, I bootstrap electron-compile without electron-prebuilt-compile and the square turns red when I build the app.

If I use electron-prebuilt-compile (as in the with-prebuilt-compile branch), the square stays green.

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.

aendra-rininsland commented 8 years ago

Closing; it's not an issue with prebuilt, I was able to reproduce the issue with just electron-compile. See electron/electron-compile#123.