plane/packages/editor/lite-text-editor/tsup.config.ts

12 lines
245 B
TypeScript
Raw Normal View History

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