plane/packages/editor/extensions/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,
clean: false,
external: ["react"],
injectStyle: true,
...options,
}));