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().
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().