|
|
@@ -61,6 +61,7 @@ const createEmbeddedWebUIBundle = async () => {
|
|
|
await $`bun run --cwd ${appDir} build`
|
|
|
const files = (await Array.fromAsync(new Bun.Glob("**/*").scan({ cwd: dist })))
|
|
|
.map((file) => file.replaceAll("\\", "/"))
|
|
|
+ .filter((file) => !file.endsWith(".map"))
|
|
|
.sort()
|
|
|
const imports = files.map((file, i) => {
|
|
|
const spec = path.relative(dir, path.join(dist, file)).replaceAll("\\", "/")
|