From 0913243dd3ff16be2a8da859fd91ff7804f9853e Mon Sep 17 00:00:00 2001 From: jan Date: Mon, 4 Sep 2023 16:14:18 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20[build]=20do=20not=20fail=20if?= =?UTF-8?q?=20dist/static=20folder=20doesn't=20exist?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/build/index.ts b/build/index.ts index 0a45367f45..a94853cfab 100644 --- a/build/index.ts +++ b/build/index.ts @@ -128,6 +128,7 @@ webpack(entry, (err, stats) => { size, ]) ?? [] ); + fs.mkdirSync('./dist/static', { recursive: true }); fs.writeFileSync( './dist/static/fileSizes.json', JSON.stringify(fileSizes)