fix: js file compile

This commit is contained in:
陈嘉涵 2018-11-05 11:18:09 +08:00
parent 54a576d519
commit 99f19e2ff1

View File

@ -16,7 +16,7 @@ const compilerOption = {
};
const isDir = dir => fs.lstatSync(dir).isDirectory();
const isJs = path => /\.js$/.test(isJs);
const isJs = path => /\.js$/.test(path);
const isSfc = path => /\.vue$/.test(path);
const isCode = path => !/(demo|test|\.md)$/.test(path);