diff --git a/build/minify.js b/build/minify.js index 26fd3680e..909920ee5 100755 --- a/build/minify.js +++ b/build/minify.js @@ -54,7 +54,7 @@ */ function Minify(source, workingName, onComplete) { // create the destination directory if it doesn't exist - if (!path.existsSync(distPath)) { + if (!fs.existsSync(distPath)) { fs.mkdirSync(distPath); }