Skip to content

Commit

Permalink
Sets a better default
Browse files Browse the repository at this point in the history
  • Loading branch information
danielxvu committed Oct 1, 2023
1 parent a807baa commit ac0ad63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/sheet-pixie/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async function onSheetChange(sheetDir: string) {
const cssRes = await tryCss(Bun.file(`${sheetDir}/${cssPath}`), advanced);
const { css, rawCss } = cssRes;

const distDir = `${process.env.DEST_DIR}/${sheetDir}/dist`;
const distDir = `${process.env.DEST_DIR || ''}/${sheetDir}/dist`;
rmSync(distDir, { recursive: true, force: true });
mkdirSync(distDir, { recursive: true });
await Promise.all([
Expand Down

0 comments on commit ac0ad63

Please sign in to comment.