* Add unsend email editor Add email editor Add more email editor Add renderer partial Add more marketing email features * Add more campaign feature * Add variables * Getting there * campaign is there mfs * Add migration
18 lines
429 B
TypeScript
18 lines
429 B
TypeScript
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
import { defineConfig, Options } from "tsup";
|
|
|
|
// eslint-disable-next-line import/no-default-export
|
|
export default defineConfig((options: Options) => ({
|
|
entry: ["src/index.ts"],
|
|
format: ["esm", "cjs"],
|
|
banner: {
|
|
js: "'use client'",
|
|
},
|
|
dts: true,
|
|
minify: true,
|
|
clean: true,
|
|
external: ["react", "react-dom"],
|
|
injectStyle: true,
|
|
...options,
|
|
}));
|