-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
fix(nuxt): remove unused enabled flag from directory options
#32844
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(nuxt): remove unused enabled flag from directory options
#32844
Conversation
|
|
|
Warning Rate limit exceeded@danielroe has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 0 minutes and 9 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (3)
WalkthroughThe changes remove the Estimated code review effort🎯 2 (Simple) | ⏱️ ~7 minutes ✨ Finishing touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
@nuxt/kit
nuxt
@nuxt/rspack-builder
@nuxt/schema
@nuxt/vite-builder
@nuxt/webpack-builder
commit: |
CodSpeed Performance ReportMerging #32844 will not alter performanceComparing Summary
|
|
One test failed because it passed component entries with Looking forward to receiving feedback on this. |
enabled flag from directory optionsenabled flag from directory options
📚 Description
This PR removes an unused
enabledflag in the components directory options.It was hard-coded to
truein theapp:resolvehook in:nuxt/packages/nuxt/src/components/module.ts
Lines 105 to 115 in 5f6cc15
So it shouldn't have had any effect here either:
nuxt/packages/nuxt/src/components/scan.ts
Lines 34 to 36 in 5f6cc15
Since the only time the
scanComponentsfunction is called, it uses the array with the hard-coded value:nuxt/packages/nuxt/src/components/module.ts
Lines 181 to 182 in 5f6cc15