mirror of
https://github.com/makeplane/plane.git
synced 2025-12-21 14:19:38 +01:00
* fix: esm module imports for live and editor * fix: convert all pacakges to export esm and cjs build * fix: auto export * fix: translation files formatting * fix: convert eslint files to cjs files for supporting current config * fix: code uuid package upgrade --------- Co-authored-by: Aaron Reisman <aaron.reisman@plane.so>
17 lines
327 B
TypeScript
17 lines
327 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": "./dist/styles/index.css",
|
|
}),
|
|
},
|
|
dts: true,
|
|
clean: true,
|
|
});
|