Skip to content

Commit 6e985d7

Browse files
committed
fix: use correct exports
1 parent eb43905 commit 6e985d7

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

tsup.config.ts

+7-8
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,16 @@ import { defineConfig } from "tsup";
22

33
export default defineConfig({
44
entry: [
5-
"./src/index.ts",
6-
"./src/vite.ts",
7-
"./src/rollup.ts",
8-
"./src/webpack.ts",
9-
"./src/esbuild.ts",
10-
"./src/nuxt.ts",
5+
"src/*.ts",
6+
],
7+
format: [
8+
"esm",
9+
"cjs",
1110
],
12-
format: ["cjs", "esm"],
1311
clean: true,
1412
dts: true,
15-
treeshake: true,
13+
// treeshake: true,
14+
splitting: true,
1615
bundle: true,
1716
outExtension(ctx) {
1817
return {

0 commit comments

Comments
 (0)