Removed deprecated gulp-util dependency (#94)

This commit is contained in:
Charlie Orford 2018-08-21 19:42:12 +01:00 committed by Shawn Erquhart
parent e0f9eea897
commit 1edc3c31a7
3 changed files with 2667 additions and 2665 deletions

View File

@ -1,7 +1,8 @@
import gulp from "gulp";
import {spawn} from "child_process";
import hugoBin from "hugo-bin";
import gutil from "gulp-util";
import log from "fancy-log";
import pluginError from "plugin-error";
import flatten from "gulp-flatten";
import postcss from "gulp-postcss";
import cssImport from "postcss-import";
@ -41,11 +42,11 @@ gulp.task("js", (cb) => {
const myConfig = Object.assign({}, webpackConfig);
webpack(myConfig, (err, stats) => {
if (err) throw new gutil.PluginError("webpack", err);
gutil.log("[webpack]", stats.toString({
if (err) throw new pluginError("webpack", err);
log(`[webpack] ${stats.toString({
colors: true,
progress: true
}));
})}`);
browserSync.reload();
cb();
});

5320
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -29,15 +29,16 @@
"eslint": "^4.19.1",
"eslint-plugin-import": "^2.11.0",
"exports-loader": "^0.7.0",
"fancy-log": "^1.3.2",
"file-loader": "^1.1.11",
"gulp": "^3.9.1",
"gulp-babel": "^7.0.1",
"gulp-flatten": "^0.4.0",
"gulp-postcss": "^7.0.1",
"gulp-util": "^3.0.7",
"gulp-watch": "^5.0.0",
"hugo-bin": "^0.23.0",
"imports-loader": "^0.8.0",
"plugin-error": "^1.0.1",
"postcss-cssnext": "^3.1.0",
"postcss-import": "^11.1.0",
"url-loader": "^1.0.1",