Update deps.

This commit is contained in:
Lars Jung 2019-02-20 22:06:03 +01:00
parent 44e53ab213
commit c521ecd055
5 changed files with 6606 additions and 14 deletions

4
ghu.js
View file

@ -18,7 +18,7 @@ const webpackCfg = include => ({
loader: 'babel-loader',
query: {
cacheDirectory: true,
presets: ['es2015']
presets: ['babel-preset-env']
}
},
{
@ -108,7 +108,7 @@ ghu.task('build:copy', runtime => {
read(`${SRC}: **, ! **/*.js, ! **/*.less, ! **/*.pug, ! **/conf/*.json`)
.then(newerThan(mapper))
.then(each(obj => {
if (/index\.php$/.test(obj.source)) {
if ((/index\.php$/).test(obj.source)) {
obj.content = obj.content.replace('{{VERSION}}', runtime.pkg.version);
}
}))