1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-17 07:15:30 -04:00

profile webpack assets in build log

This commit is contained in:
2021-07-03 09:09:55 -04:00
parent d11644e523
commit 2e5405b9ac
5 changed files with 48 additions and 42 deletions

View File

@@ -12,7 +12,7 @@ import imageminSvgo from "imagemin-svgo";
gulp.task("default", gulp.series(
clean,
npx("webpack", ["--mode", "production", "--profile"]),
npx("webpack", ["--mode", "production", "--progress", "profile"]),
npx("hugo"),
gulp.parallel(
optimizeHtml,
@@ -21,7 +21,7 @@ gulp.task("default", gulp.series(
));
gulp.task("serve", gulp.parallel(
npx("webpack", ["serve", "--progress"]),
npx("webpack", ["serve", "--mode", "development", "--progress", "profile"]),
npx("hugo", ["--watch", "--buildDrafts", "--buildFuture", "--verbose"]),
));