Skip to content

Commit 50a2b1f

Browse files
committed
fix(rest): add entry files in the dist root
1 parent 1f65880 commit 50a2b1f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/rest/tsup.config.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@ import { defineConfig } from "tsup";
22
import { NodeResolvePlugin } from "@esbuild-plugins/node-resolve";
33

44
export default defineConfig((options) => ({
5-
entry: ["src/index.ts"],
5+
entry: {
6+
index: "src/index.ts",
7+
"nestjsx-crud": "src/data-providers/nestjsx-crud/index.ts",
8+
"simple-rest": "src/data-providers/simple-rest/index.ts",
9+
"strapi-v4": "src/data-providers/strapi-v4/index.ts",
10+
},
611
splitting: false,
712
sourcemap: true,
813
clean: false,

0 commit comments

Comments
 (0)