Skip to content

Commit

Permalink
chore: 调整 tsconfig 确保打包出来的内容包含 d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
wang.kangning committed Sep 3, 2023
1 parent ebbe796 commit d67c237
Show file tree
Hide file tree
Showing 5 changed files with 649 additions and 95 deletions.
9 changes: 0 additions & 9 deletions .fatherrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,5 @@ export default defineConfig({
output: 'lib',
transformer: 'babel',
targets: { ie: 11 },
extraBabelPlugins: [
[
'babel-plugin-import',
{
libraryName: 'antd',
style: true,
},
],
],
},
});
4 changes: 3 additions & 1 deletion packages/vite-plugin-react-convention-routes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "lib/index.js",
"files": [
"dist",
"typing.d.ts",
"es",
"lib"
],
Expand Down Expand Up @@ -42,6 +43,7 @@
"devDependencies": {
"@types/react": "^18.2.7",
"jss": "^10.10.0",
"react-router": "^6.15.0"
"react-router": "^6.15.0",
"rimraf": "^5.0.1"
}
}
Loading

0 comments on commit d67c237

Please sign in to comment.