From f7b179b4f8e74c9b43ad5287839f9a08cb538000 Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Sun, 8 Aug 2021 10:57:43 -0400 Subject: [PATCH] tidy up build logs --- gulpfile.js | 6 ++---- webpack.config.js | 4 ++++ yarn.lock | 12 ++++++------ 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index f7b78592..b97eb382 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -101,10 +101,7 @@ function optimizeImages() { }), imageminGifsicle(), imageminSvgo(), - ], - { - verbose: true, - }) + ]) ) .pipe(gulp.dest(".", { overwrite: true })); } @@ -114,6 +111,7 @@ function npx(bin, args) { // WARNING: MAJOR HACKS AHEAD: const cmd = `${bin} ${args ? args.join(" ") : ""}`.trim(); return execa(cmd, { + echo: false, preferLocal: true, shell: true, stdio: "inherit", diff --git a/webpack.config.js b/webpack.config.js index 2d8017f8..272c3d52 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -166,6 +166,10 @@ export default { }, ], }, + performance: { + // ignore performance hints on source maps and JSON asset manifest + assetFilter: (assetFilename) => !/\.map|\.json$/.test(assetFilename), + }, optimization: { sideEffects: true, minimize: isProd, diff --git a/yarn.lock b/yarn.lock index 8ec29a45..48ea65fe 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3900,9 +3900,9 @@ ee-first@1.1.1: integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= electron-to-chromium@^1.3.793: - version "1.3.798" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.798.tgz#12b0bb826ddf35486f2ca41c01be4bd6ad1b9b1e" - integrity sha512-fwsr6oXAORoV9a6Ak2vMCdXfmHIpAGgpOGesulS1cbGgJmrMl3H+GicUyRG3t+z9uHTMrIuMTleFDW+EUFYT3g== + version "1.3.799" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.799.tgz#6e9911b25e7ecd5aa1e54dcb68f82a3e02d00f09" + integrity sha512-V2rbYWdGvSqrg+95KjkVuSi41bGfrhrOzjl1tSi2VLnm0mRe3FsSvhiqidSiSll9WiMhrQAhpDcW/wcqK3c+Yw== emoji-regex@^7.0.1: version "7.0.3" @@ -5930,9 +5930,9 @@ is-arrayish@^0.2.1: integrity sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0= is-bigint@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-bigint/-/is-bigint-1.0.2.tgz#ffb381442503235ad245ea89e45b3dbff040ee5a" - integrity sha512-0JV5+SOCQkIdzjBK9buARcV804Ddu7A0Qet6sHi3FimE9ne6m4BGQZfRn+NZiXbBk4F4XmHfDZIipLj9pX8dSA== + version "1.0.3" + resolved "https://registry.yarnpkg.com/is-bigint/-/is-bigint-1.0.3.tgz#fc9d9e364210480675653ddaea0518528d49a581" + integrity sha512-ZU538ajmYJmzysE5yU4Y7uIrPQ2j704u+hXFiIPQExpqzzUbpe5jCPdTfmz7jXRxZdvjY3KZ3ZNenoXQovX+Dg== is-binary-path@^1.0.0: version "1.0.1"