mirror of
https://github.com/formbricks/formbricks.git
synced 2026-02-08 15:49:15 -06:00
13 lines
266 B
JavaScript
13 lines
266 B
JavaScript
import { defineConfig } from "tsup";
|
|
|
|
const isProduction = process.env.NODE_ENV === "production";
|
|
|
|
export default defineConfig({
|
|
format: ["cjs", "esm"],
|
|
entry: ["src/index.tsx"],
|
|
clean: isProduction,
|
|
splitting: true,
|
|
dts: true,
|
|
minify: isProduction,
|
|
});
|