mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-08 14:56:35 +02:00
Update preview code.
This commit is contained in:
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}));
|
||||
});
|
||||
|
Reference in New Issue
Block a user