Refactor win.js into globals.js.

This commit is contained in:
Lars Jung 2016-06-03 22:40:05 +02:00
parent 58cbad2bfd
commit 1cba9290b6
49 changed files with 106 additions and 118 deletions

2
ghu.js
View file

@ -68,7 +68,7 @@ ghu.task('build:scripts', runtime => {
return read(`${SRC}/_h5ai/public/js/scripts.js`)
.then(newerThan(mapper, `${SRC}/_h5ai/public/js/**`))
.then(webpack(webpackConfig, {showStats: true}))
.then(webpack(webpackConfig, {showStats: false}))
.then(wrap('\n\n// @include "global.js"\n\n'))
.then(includeit())
.then(ife(() => runtime.args.production, uglify()))