Skip to content

Commit

Permalink
fix: resolver type
Browse files Browse the repository at this point in the history
  • Loading branch information
chizukicn committed Dec 1, 2023
1 parent f649479 commit 1f045ef
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/hoci/build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { defineBuildConfig } from "unbuild";

export default defineBuildConfig({
entries: [
"index",
"resolver"
"src/index",
"src/resolver"
],
clean: true,
declaration: true,
Expand Down
6 changes: 3 additions & 3 deletions packages/hoci/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
"types": "./dist/resolver.d.ts",
"require": "./dist/resolver.cjs",
"import": "./dist/resolver.mjs"
},
"./*": "./dist/*"
}
},
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist/"
"dist/",
"*.d.ts"
],
"scripts": {
"build": "unbuild",
Expand Down
2 changes: 2 additions & 0 deletions packages/hoci/resolver.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from './dist/resolver'
export { default } from './dist/resolver'
File renamed without changes.
File renamed without changes.

0 comments on commit 1f045ef

Please sign in to comment.