diff --git a/src/build.js b/src/build.js index 9e6ce1a..9e60c38 100644 --- a/src/build.js +++ b/src/build.js @@ -85,6 +85,7 @@ const f = async () => { await Promise.all(files.map(async (filename) => { const { size } = await stat(join(publicPath, filename)) if (size >= (25 * 1024 * 1024)) { + console.log(`${filename} is more than 25MiB, deleting...`) await rm(join(publicPath, filename), { force: true }) } }))