stackcss / sheetify-postcss

postcss transform for sheetify, use all the plugins!
12 stars 8 forks source link

Specifying plugins from CLI #4

Open louiscenter opened 7 years ago

louiscenter commented 7 years ago

Is it possible to specify which postcss plugins you'd like sheetify-postcss to use from the command line?

Currently I have the following:

$ browserify index.js -o bundle.js -t [ sheetify/transform -u sheetify-postcss ].

Is there any way to tell sheetify-postcss to use postcss-cssnext? The README only demonstrates how to do this programmatically and from package.json.

kristoferjoseph commented 6 years ago

Yes, how would one pass plugins to sheetify-postcss in a bash script for instance? i tried: -t [ sheetify/transform -u sheetify-postcss -p postcss-extend ] -t [ sheetify/transform -u [ sheetify-postcss -p postcss-extend ] ] etc. but never got it to work

Any pointers?

Thank you kindly