UNPKG

create-next-plus

Version:

![Next+ Banner](banner.png)

14 lines (11 loc) 294 B
import { defineConfig } from "tsup"; const isDev = process.env.npm_lifecycle_event === "dev"; export default defineConfig({ clean: true, entry: ["src/index.ts"], format: ["esm"], minify: !isDev, target: "esnext", outDir: "dist", onSuccess: isDev ? "bun dist/index.js" : undefined, });