Less.js: Variable @supports is undefined on v3.10.x

Created on 18 Jan 2020  ·  4Comments  ·  Source: less/less.js

Looks like support for CSS's "@support" is broken after v3.0.4, any ideas? change-log doesn't seem to have anything about it

Screen Shot 2020-01-17 at 5 38 24 PM

bug research needed

Most helpful comment

I'm surprised there's not a specific test for this. Looks like it was missed. Will investigate.

All 4 comments

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

I'm surprised there's not a specific test for this. Looks like it was missed. Will investigate.

@awebdev I'm not sure what's going on for you, but there are lots of tests for @supports, and using your example on the latest version of Less (3.12.2), it compiled fine. 🤷‍♂️

Still, I'm getting the same error on v3.12.2 with less-loader v7.1.0

Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/less-loader/dist/cjs.js):


/* csslint ignore:start */
@supports ( -webkit-appearance: none ) or ( appearance: none )
        ^
Variable @supports is undefined
Was this page helpful?
0 / 5 - 0 ratings

Related issues

briandipalma picture briandipalma  ·  6Comments

renoth picture renoth  ·  6Comments

heavyk picture heavyk  ·  3Comments

rejas picture rejas  ·  6Comments

Oskariok picture Oskariok  ·  6Comments