Skip to content

Commit

Permalink
set mainFields
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed May 23, 2024
1 parent 39f1c6d commit bfce7fd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@ export default defineConfig(lib({
build: {
target: "node18",
minify: true,
}
},
resolve: {
mainFields: ["module"],
},
}));

0 comments on commit bfce7fd

Please sign in to comment.