Skip to content

fix: Clean VitePress build#1971

Merged
DaveSkender merged 2 commits intov3from
copilot/update-vitepress-setup
Feb 22, 2026
Merged

fix: Clean VitePress build#1971
DaveSkender merged 2 commits intov3from
copilot/update-vitepress-setup

Conversation

Copy link
Contributor

Copilot AI commented Feb 21, 2026

Reviewed the VitePress skill guidance against the current docs setup. Build was completing with a chunk size warning; also found debug console.log calls left in the chart component.

Changes

  • IndicatorChart.vue — Removed 4 debug console.log statements that were logging marker counts and sample data for dots/pointer series types during development
  • config.mts — Added build.chunkSizeWarningLimit: 600 to the Vite build config

The warning was triggered by the VitePress local search index (@localSearchIndexroot.js, ~564 KB), which exceeds Rollup's default 500 KB threshold. This chunk is unavoidable with local search enabled and grows naturally with documentation size — it can't be code-split. The new limit silences the false positive without masking genuinely oversized app bundles.

build: {
  chunkSizeWarningLimit: 600,  // local search index is ~564 KB by design
  rollupOptions: { ... }
}

Skill validation

The vitepress skill (GENERATION.md) explicitly targets VitePress 2.0.0-alpha.16, which is the exact version pinned in docs/package.json. No skill updates needed.


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Copilot AI changed the title [WIP] Review and update VitePress setup and documentation fix: Clean VitePress build — remove debug logging and suppress local search chunk warning Feb 21, 2026
Copilot AI requested a review from DaveSkender February 21, 2026 11:11
@DaveSkender DaveSkender marked this pull request as ready for review February 21, 2026 22:42
Copilot AI temporarily deployed to stockindicators.dev February 21, 2026 22:42 Inactive
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 21, 2026

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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 and usage tips.

@DaveSkender DaveSkender changed the title fix: Clean VitePress build — remove debug logging and suppress local search chunk warning fix: Clean VitePress build Feb 22, 2026
@DaveSkender DaveSkender merged commit 01d002f into v3 Feb 22, 2026
17 checks passed
@DaveSkender DaveSkender deleted the copilot/update-vitepress-setup branch February 22, 2026 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants