mirror of
https://github.com/formbricks/formbricks.git
synced 2026-03-16 23:53:36 -05: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,
|
|
});
|