mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix: js file compile
This commit is contained in:
parent
54a576d519
commit
99f19e2ff1
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user