mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-23 03:27:08 -04:00
Update preview code.
This commit is contained in:
parent
8a4ccd098c
commit
20e080751d
11 changed files with 166 additions and 194 deletions
2
ghu.js
2
ghu.js
|
@ -68,7 +68,7 @@ ghu.task('build:scripts', runtime => {
|
|||
.then(webpack(webpackCfg([SRC]), {showStats: false}))
|
||||
.then(wrap('\n\n// @include "pre.js"\n\n'))
|
||||
.then(includeit())
|
||||
.then(ife(() => runtime.args.production, uglify()))
|
||||
.then(ife(() => runtime.args.production, uglify({compressor: {warnings: false}})))
|
||||
.then(wrap(runtime.commentJs))
|
||||
.then(write(mapper, {overwrite: true}));
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue