Failed to using 'importScripts' on *worker.js
cwwjsyc opened this issue · 1 comments
cwwjsyc commented
Vue Cli . I want use put some utility methos(e.g fetch indexeddb ...) in a tool.js
And then use self.importScipts add tool.js to *worker.js. but have error like:
Uncaught TypeError: Failed to execute 'importScripts' on 'WorkerGlobalScope': Module scripts don't support importScripts().
LifeIsStrange commented
@cwwjsyc what solved your issue?