Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .fatherrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ export default defineConfig({
cjs: { output: 'lib' },
esm: {
output: 'es',
alias: { 'rc-util/lib': 'rc-util/es' },
},
});
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ node_modules
.cache
*.css
build
dist

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

While adding dist to .gitignore is a good practice, this change is unrelated to the main purpose of this pull request, which is removing the rc-util dependency. To maintain a clean and understandable commit history, it's best practice to keep pull requests focused on a single logical change. Please consider moving this change to a separate pull request.

lib
es
coverage
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@
},
"dependencies": {
"@babel/runtime": "^7.24.7",
"classnames": "^2.3.2",
"rc-util": "^5.38.0"
"classnames": "^2.3.2"
},
"peerDependencies": {
"react": ">=16.9.0",
Expand Down