mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-14 18:12:09 +08:00
fix(webpack): using multiple workers in a single file
This commit is contained in:
@ -46,7 +46,7 @@ WorkerDependency.Template.prototype.apply = function apply(
|
||||
);
|
||||
};
|
||||
|
||||
const NEW_WORKER_WITH_STRING_RE = /new\s+Worker\((['"`].+['"`])\)/;
|
||||
const NEW_WORKER_WITH_STRING_RE = /new\s+Worker\((['"`].+['"`])\)/g;
|
||||
|
||||
/**
|
||||
* Replaces
|
||||
|
Reference in New Issue
Block a user