|
|
|
@ -2,7 +2,7 @@ import { ${WorkerName}MainThreadWorker } from './main_thread/${workerName}_main_
|
|
|
|
|
// 不需要一起打包的话则不需要引入这行 |
|
|
|
|
// FuiWorkerPlugin中的属性会同步到fui-worker中,同时支持loader行内传入属性 |
|
|
|
|
// 根据实际需求传入inline,返回格式 true -> blob url,false -> servicePath |
|
|
|
|
import { workerUrl } from 'fui-worker!./worker_thread/${workerName}_worker_thread'; |
|
|
|
|
import workerUrl from 'fui-worker!./worker_thread/${workerName}_worker_thread'; |
|
|
|
|
|
|
|
|
|
export class ${WorkerName}WorkerHelper { |
|
|
|
|
private worker: ${WorkerName}MainThreadWorker; |
|
|
|
|