Skip to content

Commit

Permalink
fix: 不打包 validator 的类型定义
Browse files Browse the repository at this point in the history
  • Loading branch information
fjc0k committed Dec 8, 2020
1 parent 5654306 commit 7d4bd9a
Show file tree
Hide file tree
Showing 3 changed files with 770 additions and 475 deletions.
1 change: 1 addition & 0 deletions haoma-compile.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default [
outDir: 'lib',
rollupDts: true,
rollupDtsFiles: ['**/index.d.ts'],
rollupDtsExcludeFiles: ['**/validator/**/*'],
rollupDtsIncludedPackages: ['type-fest', 'ts-essentials'],
}),
getCompileConfig({
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"execa": "5.0.0",
"fs-extra": "9.0.1",
"globby": "11.0.1",
"haoma": "2.20.1",
"haoma": "2.21.0",
"husky": "5.0.4",
"jest": "26.6.3",
"lint-staged": "10.5.3",
Expand Down
Loading

0 comments on commit 7d4bd9a

Please sign in to comment.