mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 15:00:01 -04:00
11 lines
316 B
TypeScript
11 lines
316 B
TypeScript
import { rewriteJs } from "./js";
|
|
export function rewriteWorkers(js: string, origin?: URL) {
|
|
let str = new String().toString();
|
|
//
|
|
// ["codecs", "config", "shared", "client"].forEach((script) => {
|
|
// str += `import "${self.$scramjet.config[script]}"\n`;
|
|
// });
|
|
// str += rewriteJs(js, origin);
|
|
|
|
return js;
|
|
}
|