plane/packages/editor/rich-text-editor/tsup.config.ts
2023-10-02 14:15:16 +05:30

12 lines
246 B
TypeScript

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