How to use coffee-script.compile:
GitHub: bacthay9x/edu
98 99 100 101 102 103 104 105 106 107 108
const allPaths = [ { paths: ['ui'].concat(glob.sync('gems/plugins/*/app/coffeescripts')), glob: '*.coffee', transform: source => CoffeeScript.compile(source, {}) }, { paths: ['ui'].concat(glob.sync('gems/plugins/*/app/jsx')), glob: '*.js'