Skip to content

Commit

Permalink
fixed node-minify up for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
RoderickQiu committed Jul 22, 2020
1 parent 82f0faa commit 73c1cea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions res/builder/node-minify.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ const jsonMinify = require('@node-minify/jsonminify');
const fs = require('fs');
const path = require('path');

const originUrl = path.join(__dirname, '\\../../');
const outputUrl = path.join(__dirname, '\\../../output');
const originUrl = path.join(__dirname, '/../../');
const outputUrl = path.join(__dirname, '/../../output');

if (fs.existsSync(outputUrl)) {//if the folder already exists
removePromise(outputUrl).then(() => {//remove the former folder
Expand Down

0 comments on commit 73c1cea

Please sign in to comment.