mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-15 15:30:00 -04:00
fix formatting again
This commit is contained in:
parent
774f3d5b5d
commit
ddaea9b86a
36 changed files with 1720 additions and 1720 deletions
|
@ -1,12 +1,12 @@
|
|||
import { rewriteJs } from "./js";
|
||||
export function rewriteWorkers(js: string, origin?: URL) {
|
||||
let str = new String().toString()[
|
||||
//@ts-expect-error
|
||||
("codecs", "config", "shared", "client")
|
||||
].forEach((script) => {
|
||||
str += `import "${self.$scramjet.config[script]}"\n`;
|
||||
});
|
||||
str += rewriteJs(js, origin);
|
||||
let str = new String().toString()[
|
||||
//@ts-expect-error
|
||||
("codecs", "config", "shared", "client")
|
||||
].forEach((script) => {
|
||||
str += `import "${self.$scramjet.config[script]}"\n`;
|
||||
});
|
||||
str += rewriteJs(js, origin);
|
||||
|
||||
return str;
|
||||
return str;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue