Apply postcss transforms for tagged template css#4
Conversation
Atom will enable the syntax highlighting for css if the tagged template is named `css` (instead of `csjs`). I know this is kind of out of the scope of this repo, but it's such a minor change that it doesn't seem necessary to keep a separate project just for that.
|
Cool! I think making the tag name configurable seems like a good idea (as opposed to being hardcoded to Could you update your PR so it can be passed in via config (like plugins are) as opposed to hardcoding Perhaps something like: And a test case for this would be nice to have as well! |
|
Hi! Thanks so much for the transform. And |
|
@arturi Yeah, I see no reason for this to be CSJS-specific. Happy to merge in a PR! |
Atom will enable the syntax highlighting for css if the tagged template is named
css(instead ofcsjs).I know this is kind of out of the scope of this repo, but it's such a minor change that it doesn't seem necessary to keep a separate project just for that.