diff --git a/compiler/main.js b/compiler/main.js index 8a3415f..8b03976 100644 --- a/compiler/main.js +++ b/compiler/main.js @@ -266,7 +266,7 @@ function validateWorkOption() { } function filterWorker(workerPath) { - return /\.(ts|js)$/.test(workerPath) && !/^\.\./.test(workerPath); + return /\.(ts|js)$/.test(workerPath); } ;(function initSystemResource() {