-
-
Notifications
You must be signed in to change notification settings - Fork 522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with non minified CSS files #53
Comments
@MarshallOfSound I feel this is similar to the issue I've reported here electron-userland/electron-compile#61 (comment) |
If you look at the error you get in the devtools pane, it's clear that the error is caused by
My guess as to what is happening is that it's failing to find both a CSS compiler and a fallback for the |
@malept Weird thing is just having |
I did mention that the last part of my statement was complete speculation 😃 I still think that this isn't specifically an Electron Forge issue, but I'll defer to one of the other maintainers with more experience with electron-compile. |
@manikantag Where is |
@manikantag This issue has been fixed in this PR |
https://github.com/manikantag/electron-compile-css-issue/tree/master/src/css/app.css |
This is fixed in electron-compile v5.1.2, my apologies for the bug and thanks for the great repro app @manikantag |
@paulcbetts that is a very generous reply 👍 I've updated to 5.1.2, and is working fine with non-min css too. Thanks for the quick fix. |
I m not sure if this is really a electron-forge issue, as I doubt this is an issue with electron-compile itself. But anyway I wanted to confirm.
Please describe your issue:
Non minified CSS files not being loaded properly after package/make. Same are working fine with
electron-forge start
. And if I use minified CSS files, they are working with package/make too.Please see this repo to reproduce the issue: https://github.com/manikantag/electron-compile-css-issue
electron-forge start
--> will start the app and text will be blinking.electron-forge package
--> open theelectron-forge-demo\out\electron-forge-demo-win32-x64\electron-forge-demo.exe
file. App will be opened, but text will not be bliking and in the devtools network tab you can something similar to below one.Use the min.css (https://github.com/manikantag/electron-compile-css-issue/blob/master/src/index.html#L7) and run the
electron-forge package
and this time text blinks (-> CSS file loaded correctly).The text was updated successfully, but these errors were encountered: