- delete
<script src=/js/chunk-vendors.js></script>
inindex.html
- add
importScripts('http://localhost:8000/js/chunk-common.js'); importScripts('http://localhost:8000/js/chunk-vendors.js');
toworker.js
- add
var window={}
tochunk-common.js
- modify
./worker.js
to./js/worker.js
inindex.js