Open CynicalBusiness opened 6 years ago
I have the same issue, the only way is to compile css outside and in this way I don't need electron-compile :(
This needs to be addressed. It will break every app using electron-compile now that electron v3.0.5 is stable. I am currently in the process of downgrading electron so that my app works again 😢
The SCSS/LESS compilers (and in theory, any CSS compiler) do not work in
electron-prebuilt-compile@3.0.0-beta.1
due to a new Chrome feature added somewhere between 59 an 66.When you try to use SCSS/LESS, chrome spits the following warning into the console:
The resulting
index.scss
(or whatever file name) is then loaded as a blanktext/plain
and is completely ignored. I don't think this is necessarily a problem with Chrome/Electron, but rather in howelectron-compile
works, which is why I brought this here.