mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-08 23:06:46 +02:00
Refactor win.js into globals.js.
This commit is contained in:
2
ghu.js
2
ghu.js
@@ -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()))
|
||||
|
Reference in New Issue
Block a user