Skip to content

Commit

Permalink
πŸ’š [build] do not fail if dist/static folder doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
jxn-30 committed Sep 4, 2023
1 parent 4e98d7a commit 0913243
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ webpack(entry, (err, stats) => {
size,
]) ?? []
);
fs.mkdirSync('./dist/static', { recursive: true });
fs.writeFileSync(
'./dist/static/fileSizes.json',
JSON.stringify(fileSizes)
Expand Down

0 comments on commit 0913243

Please sign in to comment.