Commit cb85fd18 authored by ι™ˆεΈ…'s avatar ι™ˆεΈ…

bugfix: Determine if temp exists

parent 9d25d636
......@@ -59,7 +59,7 @@ class mergeLessPlugin {
// covert less
if (fs.existsSync(outFile)) {
fs.unlinkSync(outFile);
} else {
} else if (!fs.existsSync(path.dirname(outFile))) {
fs.mkdirSync(path.dirname(outFile));
}
loopAllLess(options.stylesDir).then(() => {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment