mirror of
https://github.com/makeplane/plane.git
synced 2025-12-23 23:29:37 +01:00
18 lines
376 B
TypeScript
18 lines
376 B
TypeScript
import { defineConfig } from "tsdown";
|
|
|
|
export default defineConfig({
|
|
entry: ["src/index.ts", "src/lib.ts"],
|
|
outDir: "dist",
|
|
format: ["esm", "cjs"],
|
|
copy: ["src/styles"],
|
|
exports: {
|
|
customExports: (out) => ({
|
|
...out,
|
|
"./styles.css": "./dist/styles/index.css",
|
|
"./styles": "./dist/styles/index.css",
|
|
}),
|
|
},
|
|
dts: true,
|
|
clean: true,
|
|
});
|