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: false,
	deps: {
		neverBundle: [/\.mp3$/, /\.wav$/],
	},
	plugins: [],
});
