yudppp / gulp-xto6

gulp plugin for xto6. Turn your ES5 code into readable ES6.
13 stars 1 forks source link

Use case? #3

Closed fregante closed 9 years ago

fregante commented 9 years ago

Why use gulp when xto6 can convert a whole project without it?

yudppp commented 9 years ago

Use case is

And , It's easy for me to use.

thanks.

fregante commented 9 years ago

What I'm trying to say is that gulp solves the issue of running repetitive tasks while this kind of conversion probably happens once per project. This means that running these two commands once (copied/pasted from the respective projects' homepages) is easier/faster than setting up a whole gulpfile:

coffee --compile --output es5/ src/
find es5/ -type f -not -path "*node_modules*" -name "*.js" -print0 | xargs -0 -I % xto6 % -o %