hudochenkov / postcss-styled-syntax

PostCSS syntax for CSS-in-JS like styled-components
MIT License
69 stars 4 forks source link

Typescript only ? #12

Closed DevSide closed 1 year ago

DevSide commented 1 year ago

I'm coming from the stylelint doc, when I try to use your library i get: Cannot find module 'typescript'.

I can see the TS parser inside your code, is this a Typescript library only ?

hudochenkov commented 1 year ago

It works for JavaScript also. TypeScript in dependencies is because of a parser, which parses both JavaScript and TypeScript.

Could you create a reproduction repository?