Skip to content

Commit

Permalink
fix(type): fix core type
Browse files Browse the repository at this point in the history
  • Loading branch information
radyakaze committed Aug 12, 2024
1 parent a52e3c8 commit d03a9ce
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,9 @@ export default defineBuildConfig({
},
],
externals: ['h3', 'consola'],
declaration: true,
rollup: {
emitCJS: true,
cjsBridge: false,
},
})
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
"types": "./dist/types.d.ts",
"import": "./dist/module.mjs",
"require": "./dist/module.cjs"
},
"./core": {
"import": "./dist/core.mjs",
"require": "./dist/core.cjs",
"types": "./dist/core.d.ts"
}
},
"main": "./dist/module.cjs",
Expand Down

0 comments on commit d03a9ce

Please sign in to comment.