Skip to content
This repository was archived by the owner on Oct 1, 2020. It is now read-only.
This repository was archived by the owner on Oct 1, 2020. It is now read-only.

Cannot use SCSS/LESS in 3.0 beta #306

Description

@CynicalBusiness

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:

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

The resulting index.scss (or whatever file name) is then loaded as a blank text/plain and is completely ignored. I don't think this is necessarily a problem with Chrome/Electron, but rather in how electron-compile works, which is why I brought this here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions