Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Media query with \0 causing parsing issues with node-sass and LESS #6304

@jraadt

Description

@jraadt

Because of the f376178 commit, which includes a \0 after the media definition, applications using LESS and importing the generated CSS file with the less option to have access to classes and such within LESS no longer work. LESS doesn't support the \0 media query hack. Import example:

@import (less) 'angular-material/angular-material.css';

When trying to compile LESS you get the following error:

media definitions require block statements after any features in file angular-material\angular-material.css line no. 654

Metadata

Metadata

Labels

P0: criticalCritical issues that must be addressed immediately.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions