Skip to content

fix(react-million): remove vite.config.ts.template to fix scaffolder lint failure - #249

Merged
ulises-jeremias merged 1 commit into
mainfrom
fix/react-million-remove-vite-config
Jul 10, 2026
Merged

ulises-jeremias merged 1 commit into
mainfrom
fix/react-million-remove-vite-config

Conversation

@ulises-jeremias

Copy link
Copy Markdown
Member

million/compiler not resolvable → TypeScript parser fails during ESLint project loading → scaffolder exits code 1. Remove vite.config.ts.template to use base config instead.

…lint failure

The react-million vite.config.ts.template imports million/compiler which
cannot be resolved. Even with /* eslint-disable */ and // @ts-nocheck,
the TypeScript parser (used by typescript-eslint) attempts to load the
TypeScript project for type checking and fails on million/compiler at the
project compilation level — before file-level eslint-disable takes effect.
This causes create-awesome-node-app to exit with code 1 (despite
"Successfully created project") failing the CI step.

Remove vite.config.ts.template so the extension uses the base template's
vite.config.ts (which works correctly). The million/react components
(For, block) still work without the Vite compiler plugin; they just
won't have automatic tree shaking optimization.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 10, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@ulises-jeremias, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 42 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 0feee7ae-af10-42ff-974a-5c6da7bd5fd1

📥 Commits

Reviewing files that changed from the base of the PR and between 450ad7b and 6557004.

📒 Files selected for processing (1)
  • extensions/react-million/vite.config.ts.template
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/react-million-remove-vite-config

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ulises-jeremias
ulises-jeremias merged commit 3a1b37e into main Jul 10, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant