Skip to content

Commit

Permalink
fix(unenv-preset): bundle index.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
vicb committed Feb 28, 2025
1 parent a8e20bd commit 6334269
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/unenv-preset/build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@ import { defineBuildConfig } from "unbuild";

export default defineBuildConfig({
declaration: true,
entries: [{ input: "src/", outDir: "dist/", format: "esm" }],
entries: [
"src/index",
{ input: "src/runtime/", outDir: "dist/runtime", format: "esm" },
],
});

0 comments on commit 6334269

Please sign in to comment.