### Version 2.6.10 ### Reproduction link [https://github.com/wangzhiyao66/my-worker.git](https://github.com/wangzhiyao66/my-worker.git) ### Steps to reproduce An error occurred while using the following code in the script let worker = new Worker('../../static/webworker.js'); ### What is expected? Normal use web worker ### What is actually happening? Uncaught SyntaxError: Unexpected token '<' Cause unexpected end --- I need your help to solve this problem. Thank you very much <!-- generated by vue-issues. DO NOT REMOVE -->