mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-14 23:53:14 +00:00
14 lines
401 B
JavaScript
14 lines
401 B
JavaScript
import { promises as fs } from "node:fs";
|
|
import path from "node:path";
|
|
import url from "node:url";
|
|
|
|
async function main() {
|
|
const __dirname = url.fileURLToPath(new URL(".", import.meta.url));
|
|
const assetsSrc = path.resolve(__dirname, "../assets");
|
|
const assetsDest = path.resolve(__dirname, "../../dist/studio/public/assets");
|
|
|
|
await fs.cp(assetsSrc, assetsDest, { recursive: true });
|
|
}
|
|
|
|
main();
|