25 lines
383 B
TypeScript
25 lines
383 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/",
|
|
},
|
|
],
|
|
platform: "browser",
|
|
dts: true,
|
|
exports: true,
|
|
deps: {
|
|
neverBundle: [/\.mp3$/, /\.wav$/],
|
|
},
|
|
plugins: [],
|
|
});
|