Skip to content

Commit

Permalink
Add internal export.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgrammel committed Jan 28, 2024
1 parent 3b8751d commit d37fa7f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/modelfusion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"./internal": {
"types": "./internal/index.d.ts",
"import": "./internal/index.js",
"module": "./internal/index.js",
"require": "./internal/index.cjs"
}
},
Expand Down
7 changes: 7 additions & 0 deletions packages/modelfusion/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,11 @@ export default defineConfig([
dts: true,
sourcemap: true,
},
{
entry: ["src/internal/index.ts"],
format: ["cjs", "esm"],
outDir: "dist/internal",
dts: true,
sourcemap: true,
},
]);

0 comments on commit d37fa7f

Please sign in to comment.