Merge branch 'fix-dev-build' into 'develop'
fix: backend-rs not working in dev-build Co-authored-by: Lhcfl <Lhcfl@outlook.com> See merge request firefish/firefish!10780
This commit is contained in:
commit
070da75672
|
@ -1,6 +1,7 @@
|
|||
import path, { join } from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import { execa } from "execa";
|
||||
import fs from "node:fs";
|
||||
|
||||
(async () => {
|
||||
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||
|
@ -32,4 +33,6 @@ import { execa } from "execa";
|
|||
stdio: "inherit",
|
||||
}
|
||||
);
|
||||
|
||||
fs.copyFileSync("packages/backend-rs/index.js", "packages/backend-rs/built/index.js");
|
||||
})();
|
||||
|
|
Loading…
Reference in New Issue