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

include mixins in scss cause whole file not working #29

Closed
zaaack opened this issue Jul 12, 2019 · 2 comments · Fixed by #31
Closed

include mixins in scss cause whole file not working #29

zaaack opened this issue Jul 12, 2019 · 2 comments · Fixed by #31
Assignees
Labels
bug Something isn't working

Comments

@zaaack
Copy link

zaaack commented Jul 12, 2019

Describe the bug

// index.module.scss
.cls { 
  @include line-clamp(3);
}

This will cause types missing.

image

To Reproduce
Steps to reproduce the behavior:

  1. create index.module.scss with mixins .cls { @include line-clamp(3); }
  2. open ts file in vscode

Expected behavior
A clear and concise description of what you expected to happen.
index.module.scss should be working

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS] macOS
  • Browser [e.g. chrome, safari] chrome
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@zaaack zaaack changed the title import scss module in scss cause whole file not working include mixins in scss cause whole file not working Jul 12, 2019
@mrmckeb mrmckeb self-assigned this Jul 14, 2019
@mrmckeb mrmckeb added the bug Something isn't working label Jul 14, 2019
@mrmckeb
Copy link
Owner

mrmckeb commented Jul 14, 2019

Thanks for raising this @zaaack. I'll take a look at it today and try to get a fix out in the next 24 hours.

@mrmckeb
Copy link
Owner

mrmckeb commented Jul 14, 2019

This is now released. Thanks again!

https://github.com/mrmckeb/typescript-plugin-css-modules/releases/tag/v1.2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants