mirror of
https://github.com/makeplane/plane.git
synced 2025-12-24 15:49:36 +01:00
* [WEB-5473] fix: source map errors * [WEB-5473] chore: run codemod * fix: build errors in editor --------- Co-authored-by: sriramveeraghanta <veeraghanta.sriram@gmail.com>
17 lines
367 B
TypeScript
17 lines
367 B
TypeScript
import { defineConfig } from "tsdown";
|
|
|
|
export default defineConfig({
|
|
entry: ["src/index.ts", "src/lib.ts"],
|
|
format: ["esm"],
|
|
dts: true,
|
|
copy: ["src/styles"],
|
|
exports: {
|
|
customExports: (exports) => ({
|
|
...exports,
|
|
"./styles.css": "./dist/styles/index.css",
|
|
"./styles": "./dist/styles/index.css",
|
|
}),
|
|
},
|
|
platform: "neutral",
|
|
});
|