Files
ui/tsdown.config.ts
T
enricobuehler ec9bb08869 bump
fix assets bundling
2026-05-01 00:58:46 +02:00

25 lines
394 B
TypeScript

import { defineConfig } from "tsdown";
export default defineConfig({
fixedExtension: false,
entry: ["./src/**/*.(ts|tsx)"],
format: "esm",
copy: [
{
from: "./src/styles/*.css",
to: "./dist",
},
{
from: "./src/assets/**/*",
to: "./dist/assets",
},
],
platform: "browser",
dts: true,
exports: true,
deps: {
neverBundle: [/\.mp3$/, /\.wav$/],
},
plugins: [],
});