Skip to content

fix: vite plugin builds - #102

Merged
janis-me merged 1 commit into
mainfrom
fix/vite-plugin-build-errors
Oct 3, 2026
Merged

janis-me merged 1 commit into
mainfrom
fix/vite-plugin-build-errors

Conversation

@janis-me

@janis-me janis-me commented Oct 3, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI balanced review requested due to automatic review settings October 3, 2026 12:46
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
surimi 451cbe0 Commit Preview URL

Branch Preview URL
Oct 03 2026, 12:46 PM

@janis-me janis-me changed the title fioxafix: vite plugin builds fix: vite plugin builds Oct 3, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

Regression tests are needed to verify that module hooks run without repeating lifecycle hooks.

Review effort: Balanced
Findings: 1 Medium severity

Open (1)
What changed in this PR

Restricts Surimi’s evaluation server to host module-pipeline hooks, preventing shared plugin lifecycle state from being reset.

Changes:

  • Isolates resolveId, load, and transform hooks.
  • Excludes Vite-internal plugins.
  • Updates API and guide documentation.
File Description
packages/​vite-plugin-surimi/​src/​types.ts Clarifies plugin filtering behavior.
packages/​vite-plugin-surimi/​src/​runner.ts Isolates seeded plugin hooks.
packages/​vite-plugin-surimi/​src/​plugin.ts Collects and passes host plugins.
packages/​docs/​src/​pages/​docs/​guides/​vite.mdx Documents hook restrictions.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@janis-me
janis-me merged commit e45bea5 into main Oct 3, 2026
7 checks passed
@janis-me
janis-me deleted the fix/vite-plugin-build-errors branch October 3, 2026 12:48
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.

2 participants