Vite build tools #695

Merged
mmalmi merged 6 commits from mmalmi/snort:main into main 2023-11-20 16:22:03 +00:00
Showing only changes of commit 5c0ad1c375 - Show all commits

View File

@ -17,7 +17,7 @@ export class PowWorker implements PowMiner {
#queue: Map<string, PowQueue> = new Map(); #queue: Map<string, PowQueue> = new Map();
constructor(workerPath: string) { constructor(workerPath: string) {
this.#worker = new Worker(new URL(workerPath, import.meta.url), { this.#worker = new Worker(workerPath, {
type: 'module', type: 'module',
name: 'POW', name: 'POW',
}); });