Skip to content

chore(examples): migrate from Parcel to Vite#1341

Open
dhayab wants to merge 2 commits intochore/bump-node-22from
chore/migrate-examples-to-vite
Open

chore(examples): migrate from Parcel to Vite#1341
dhayab wants to merge 2 commits intochore/bump-node-22from
chore/migrate-examples-to-vite

Conversation

@dhayab
Copy link
Member

@dhayab dhayab commented Mar 19, 2026

Summary

  • Migrated all 24 Parcel-based examples to Vite 5.0.7
  • Bumped Vite from 2.x to 5.0.7 in the 7 existing Vite examples
  • Normalized all vite configs to .mjs extension and port 1234
  • Added missing "start" script to react-instantsearch and vue examples
  • Updated READMEs referencing localhost:3000 to localhost:1234

This enables examples to work in StackBlitz (WebContainers), which cannot load native Node addons required by Parcel (lmdb, @parcel/source-map).

All examples have been checked manually for build and runtime errors

PR chain

  1. chore: bump node version from 14 to 22 #1340
  2. chore(examples): migrate from Parcel to Vite #1341 ← you are here
  3. chore: replace codesandbox ci with pkg.pr.new #1339

@dhayab dhayab requested review from a team, FabienMotte and shaejaz and removed request for a team March 19, 2026 17:00
@dhayab
Copy link
Member Author

dhayab commented Mar 19, 2026

Don't mind the failure on codesandbox, it is replaced with pkg.pr.new in #1339

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