mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-30 06:55:16 -04:00
Refactor win.js into globals.js.
This commit is contained in:
parent
58cbad2bfd
commit
1cba9290b6
49 changed files with 106 additions and 118 deletions
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()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue