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

Less variables not being imported #63

Open
jpants opened this issue Nov 13, 2019 · 2 comments
Open

Less variables not being imported #63

jpants opened this issue Nov 13, 2019 · 2 comments

Comments

@jpants
Copy link

jpants commented Nov 13, 2019

I've been working to get Antd running in Next.js with SCSS with cssModules. I have been able to get it all running except for getting the Antd Less variables. I can overwrite the Less variables from my 'theme.scss' file, but when I import that file, I can't get access to the Less variables as expected. I get errors complaining of a Sass error because a variable doesn't exist.

Any idea when this plugin will get some TLC? Lots of outdated deps...

@urrri
Copy link

urrri commented Nov 18, 2019

I have the same problem.
sass-loader: 7.3.1
this plugin: 1.0.8

It also doesn't work with sass-loaded 8.0.0

@jpants
Copy link
Author

jpants commented Nov 18, 2019

yeah, I had to drop down sass-loader down to 7.3.1 as well. The compile time with this plugin was too long, so I ended up using a different approach anyway. Ended up being less sweet than what this plugin offers, but at least I'm not waiting a while after every little scss change

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

No branches or pull requests

2 participants