plane/packages/editor/tsup.config.ts

12 lines
244 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,
clean: true,
external: ["react"],
injectStyle: true,
...options,
}));