diff --git a/compiler/main.js b/compiler/main.js index 8a3415f331ad509ac4f62336974623254ba4dfdb..8b0397693e667e43678eb7e25b4ddb20bb646399 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() {