I m trying to use a js library easy-fit (https://github.com/pierremtb/easy-fit) in an angularjs application (https://github.com/khertan/forrunners).
How can i use gulp-babel to transpile without require call ?
After reading documentation
There is no requirejs dependancy at all.
But as there is some require() call in the lib which is a node method, browserify the lib is required...
How i ve made and used the lib
$ browserify easy-fit.js --standalone easy-fit > easy-fit.bundle.js
Include it in your index.html :
var EasyFit = window.easyFit.default;