mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-06 05:40:02 -06:00
* add @formbricks/api (api abstraction layer) and @formbricks/errors package to monorepo * use @formbricks/api in @formbricks/js to expose an api endpoint --------- Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
14 lines
276 B
TypeScript
14 lines
276 B
TypeScript
import { defineConfig } from "tsup";
|
|
|
|
const isProduction = process.env.NODE_ENV === "production";
|
|
|
|
export default defineConfig({
|
|
clean: true,
|
|
dts: true,
|
|
splitting: true,
|
|
format: ["cjs", "esm"],
|
|
entry: ["src/index.ts"],
|
|
minify: isProduction,
|
|
sourcemap: true,
|
|
});
|