Skip to content
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

Variable @supports is undefined on v3.10.x #3465

Closed
awebdev opened this issue Jan 18, 2020 · 4 comments
Closed

Variable @supports is undefined on v3.10.x #3465

awebdev opened this issue Jan 18, 2020 · 4 comments

Comments

@awebdev
Copy link

awebdev commented Jan 18, 2020

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

@stale
Copy link

stale bot commented May 17, 2020

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.

@matthew-dean
Copy link
Member

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

@matthew-dean
Copy link
Member

@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. 🤷‍♂️

@RajaJaganathan
Copy link

RajaJaganathan commented Dec 2, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants