first commit
This commit is contained in:
26
tsup.config.ts
Normal file
26
tsup.config.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
import { defineConfig } from "tsup";
|
||||
|
||||
export default defineConfig({
|
||||
tsconfig: "tsconfig.json",
|
||||
entry: {
|
||||
"react/index": "react/index.ts",
|
||||
"server/index": "server/index.ts"
|
||||
},
|
||||
format: ["esm"],
|
||||
dts: true,
|
||||
sourcemap: true,
|
||||
clean: true,
|
||||
outDir: "dist",
|
||||
external: [
|
||||
"@auth/express",
|
||||
"@auth/prisma-adapter",
|
||||
"@chakra-ui/react",
|
||||
"@prisma/client",
|
||||
"express",
|
||||
"react",
|
||||
"react-dom",
|
||||
"react-icons",
|
||||
"react-router-dom",
|
||||
"zod"
|
||||
]
|
||||
});
|
||||
Reference in New Issue
Block a user