Skip to content

Commit

Permalink
ensure css dir exists
Browse files Browse the repository at this point in the history
  • Loading branch information
nobkd committed Feb 12, 2025
1 parent ac619b7 commit 77c07d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/glow/css/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ async function minify(names, toname) {
})).outputs.map(async file => await file.text())

const to = `minified/${toname}.css`
await fs.mkdir('minified', { recursive: true })
await fs.writeFile(to, min)
console.log('>', to, (await fs.stat(to)).size)
}
Expand Down

0 comments on commit 77c07d9

Please sign in to comment.