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:
@@ -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"]),
|
||||
));
|
||||
|
||||
|
Reference in New Issue
Block a user