A gulp plugin for the very awesome amdclean. Now with 100% more amdclean.
After installing Just add it into your build chain via pipe.
npm install gulp-amdclean
Then use the factory to return a nice amdclean filtered stream.
var gulp =Amdclean = ;gulp
Because right now i have to manually update the amdclean dependency and that may be a slow process; the amdclean filter supports DI so you can inject any version you need. Simply use the second argument to pass your own version of amdclean and your all set.
var amdclean = // your amdcleanfilter = // a filter with your options and amdclean.
Any option that you'd normally use with amdclean will work.
Commit anything you want within reason. Not sure what else is needed, but contribs are always welcome.