twc icon indicating copy to clipboard operation
twc copied to clipboard

Improve console output when generating mixins

Open tpluscode opened this issue 8 years ago • 5 comments
trafficstars

Currently when generating mixins the console reads

`Module` generated in 149ms
`MyElement` generated in 78ms

It would be nice to actually put the mixin's name in the output and not simply Module fear each mixin.

tpluscode avatar Aug 01 '17 17:08 tpluscode

What about multiple mixins per file? Should we maybe instead of Module place a source file name or path?

Buslowicz avatar Aug 04 '17 13:08 Buslowicz

I'd expect multiple logs. One for each generated mixin.

tpluscode avatar Aug 04 '17 14:08 tpluscode

This could be confused to multiple files output. What do you think about something more like this?

MyMixin1, MyMixin2, MyMixin3 saved to `mixins-file.html` (generated in 149ms)

Buslowicz avatar Aug 04 '17 14:08 Buslowicz

Sure, that would work too. I don't have a strong opinion

tpluscode avatar Aug 04 '17 15:08 tpluscode

Okie dokie, I'll queue that up :).

Buslowicz avatar Aug 04 '17 15:08 Buslowicz