update: 对worker文件的引入

Signed-off-by: laibo <laibo2@huawei.com>
This commit is contained in:
laibo
2022-03-11 18:03:12 +08:00
parent 2e628d257c
commit 7056e9d918
+1 -1
View File
@@ -329,7 +329,7 @@ function validateWorkOption() {
}
return false;
}
function filterWorker(workerPath) {
return /\.(ts|js)$/.test(workerPath) && !/^\.\./.test(workerPath);
}