Skip to content

Commit

Permalink
Fixed devscript error with less compile
Browse files Browse the repository at this point in the history
  • Loading branch information
JL102 committed Jan 7, 2023
1 parent c8fd96a commit 2bd7caf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/compileLess.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ async function compileLess() {
const lessBase = path.join(pathToLess, 'base.less');
const cssOutput = path.join(pathToPublicCss, 'style.css');
const mapOutpput = path.join(pathToPublicCss, 'style.css.map');

// mkdir public/css if it doesn't exist
await fs.promises.mkdir(pathToPublicCss, {recursive: true});

let st = Date.now();

// Load the base LESS script
Expand Down

0 comments on commit 2bd7caf

Please sign in to comment.