forked from github/plane
15 lines
285 B
TypeScript
15 lines
285 B
TypeScript
|
import { defineConfig, Options } from "tsup";
|
||
|
|
||
|
export default defineConfig((options: Options) => ({
|
||
|
entry: ["src/index.ts"],
|
||
|
banner: {
|
||
|
js: "'use client'",
|
||
|
},
|
||
|
format: ["cjs", "esm"],
|
||
|
dts: true,
|
||
|
clean: true,
|
||
|
external: ["react"],
|
||
|
injectStyle: true,
|
||
|
...options,
|
||
|
}));
|