gulp-theo icon indicating copy to clipboard operation
gulp-theo copied to clipboard

Multiple file outputs

Open chrisui opened this issue 7 years ago • 2 comments

Hey, gulp noob user here!

In the advanced usage documentation it mentions that the configuration outputs to multiple formats but I don't quite see which part does that.

If I wanted to use the same single yml file to output multiple different formats how would I do that? Ie. tokens.yml -> variables.css & variables.js

chrisui avatar Nov 01 '17 19:11 chrisui

I've solved this the dumb way by defining more and more tasks. Feels a bit odd (and just like grunt) so maybe there's a nicer way. Works for nor anyway!

chrisui avatar Nov 02 '17 18:11 chrisui

I think the docs mention that because there are multiple inputs, unfortunately the current plugin only supports a single output. If I have time, I can update the plugin to accept an array of options and then create multiple outputs.

aputinski avatar Nov 02 '17 21:11 aputinski