plane/packages/editor/lite-text-editor/tsup.config.ts
2023-09-27 19:49:15 +05:30

12 lines
245 B
TypeScript

import { defineConfig, Options } from "tsup";
export default defineConfig((options: Options) => ({
entry: ["src/index.ts"],
format: ["cjs", "esm"],
dts: true,
clean: false,
external: ["react"],
injectStyle: true,
...options,
}));