-
-
Notifications
You must be signed in to change notification settings - Fork 189
Split up Node API and CLI #34
Comments
I've think about that too. |
yeah that was my first thought too - example of that approach would the karma and grunt projects |
Ok I've prepared something, but after thinking about it I'm unsure if it's nice to do that, mainly for maintenance. For example to test cli, I've to duplicate some fixtures in the cssnext-cli repo. So I'm unsure if it worth it. Grunt did that because it's mainly a cli tool & it helps to use different versions, but for example cssnext will mainly be used via nodejs directly & only occasionally run using cli or for testing purpose like you do it with suit preprocessor https://github.com/suitcss/components-grid/blob/master/package.json#L18-L19 & like I do with my poor cssrecipes. We only have a simple bin, not a big deal don't you think ? ps: autoprefixer did that because I were asking for a postcss-autoprefixer plugin only, & after a weird discussion, autoprefixer-core came out 💃 |
sgtm |
As is done with
autoprefixer
andautoprefixer-core
. It's nice be able to install just the Node API because any module that wants to use this – or a complicated build process – is unlikely to use this tool's CLI.The text was updated successfully, but these errors were encountered: