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