waigo
Version:
Node.js ES6 framework for reactive, data-driven apps and APIs (Koa, RethinkDB)
13 lines (10 loc) • 367 B
text/coffeescript
path = require 'path'
concatJs = require './utils/concat-js'
module.exports = (paths, options = {}) ->
handler: ->
concatJs
src: path.join(paths.frontend.src, 'js', 'app.js')
watchGlob: path.join(paths.frontend.src, 'js', '**', '**', '*.js')
outputName: 'app.js'
outputDir: path.join(paths.frontend.build, 'js')
options: options