Giter Club home page Giter Club logo

Comments (7)

xiaoxiangmoe avatar xiaoxiangmoe commented on May 17, 2024

@Aqours less is not supported in create-react-app

from typescript-plugin-css-modules.

Aqours avatar Aqours commented on May 17, 2024

@xiaoxiangmoe I think this plugin is design for TypeScript but not only for create-react-app starter kit.

from typescript-plugin-css-modules.

mrmckeb avatar mrmckeb commented on May 17, 2024

@Aqours Is there a reason that the customMatcher isn't working for you? Support for using that in VSCode should come in the next release (very close now).

If it's something that people really want, we could look to add that - but as @xiaoxiangmoe said, this plugin is designed to align with create-react-app in terms of the default settings - but is definitely not only for CRA.

from typescript-plugin-css-modules.

Aqours avatar Aqours commented on May 17, 2024

@mrmckeb customMatcher works fine, but I think config less customMatcher is a tedious work.

this plugin is designed to align with create-react-app in terms of the default settings

Hence, I should close this issue. Thank you for your instruction

from typescript-plugin-css-modules.

mrmckeb avatar mrmckeb commented on May 17, 2024

@Aqours I was just discussing this with a colleague. I'm open to this change - but want to be cautious.

I propose as an option, would it be OK to have something like this?
"extendedMatchers": true

Which might look like "\\.module\\.(sa|sc|le|pc|c)ss$" or even "\\.(sa|sc|le|pc|c)ss$"?

from typescript-plugin-css-modules.

ifmos avatar ifmos commented on May 17, 2024

@Aqours I was just discussing this with a colleague. I'm open to this change - but want to be cautious.

I propose as an option, would it be OK to have something like this?
"extendedMatchers": true

Which might look like "\\.module\\.(sa|sc|le|pc|c)ss$" or even "\\.(sa|sc|le|pc|c)ss$"?

Thanks for this great plugin! I think supporting less will be really nice and help more people

from typescript-plugin-css-modules.

mrmckeb avatar mrmckeb commented on May 17, 2024

Closed by #20. Will be released later today :)

from typescript-plugin-css-modules.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.