babel/generator-babel-boilerplate

Banner

Closed this issue · 7 comments

Unless I'm missing something, there's no builtin way to specify a banner for the resulting dist/xyzz.js file.

I think this would be helpful to just about anybody using this project.

Thanks

Hey there, @marcandre ! You're not missing anything. The banner was intentionally left out, as I think it's one of those things that:

  1. not everyone needs
  2. is pretty simple to add back in

Now that this is a Yeoman generator, I might consider toggling it on/off with a flag. How's that sound to you?

Anything you want to do to help is welcome.

TBH, I'm a complete n00b with respect to JS tool chain, have little interest in spending time learning much of it, so projects like this one are a real boon for slakers like me...

I'm a complete n00b with respect to JS tool chain

We're all learning :) This project was my first (and only) Gulpfile... 😛

I'll investigate some options for banners soon!

@marcandre do you want the banner in the minified version as well? Or just the non-minified build?

Gonna merge this issue with #263 , as it'll be a part of that CLI. Feel free to leave a reply here or there @marcandre ~

With parsley, we have the header in minified version too.

Awesome, thanks! I'll make sure it shows up in both versions, then.