Skip to content

Commit

Permalink
fix: 🐛 alias in ui/adaptor
Browse files Browse the repository at this point in the history
  • Loading branch information
charlzyx committed Mar 15, 2024
1 parent bfd480c commit 85034c8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
Binary file modified bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"build:arco": "bun scripts/switch.ts arco build && father build"
},
"dependencies": {
"@ant-design/icons": "^4.8.1",
"@formily/core": "^2.3.1",
"@formily/react": "^2.3.1",
"@formily/reactive": "^2.3.1",
Expand Down
5 changes: 5 additions & 0 deletions rsbuild.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,9 @@ import { pluginReact } from "@rsbuild/plugin-react";

export default defineConfig({
plugins: [pluginReact()],
source: {
alias: {
src: "./src",
},
},
});
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"declaration": true,
"moduleResolution": "Bundler",
"paths": {
"@pro.formily/antd": ["src"]
"src/*": ["src/*"]
}
},
"include": ["src", "ui", "docs"]
Expand Down

0 comments on commit 85034c8

Please sign in to comment.