GHHG10's picture
download
raw
339 Bytes
import { $ } from "bun"
import * as path from "node:path"
import { RUST_TARGET } from "./utils"
if (!RUST_TARGET) throw new Error("RUST_TARGET not defined")
const BUNDLE_DIR = "dist"
const BUNDLES_OUT_DIR = path.join(process.cwd(), "dist/bundles")
await $`mkdir -p ${BUNDLES_OUT_DIR}`
await $`cp -r ${BUNDLE_DIR}/* ${BUNDLES_OUT_DIR}`

Xet Storage Details

Size:
339 Bytes
·
Xet hash:
0576d84acec3010c0b011cc6ada8e78520fd14bbc4f8fed25fea0f96c98b34e9

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.