Skip to content

fix: CI compatibility update#2

Merged
JaydenV8 merged 5 commits into
mainfrom
claude/assess-production-readiness-WHuks
Mar 14, 2026
Merged

fix: CI compatibility update#2
JaydenV8 merged 5 commits into
mainfrom
claude/assess-production-readiness-WHuks

Conversation

@JaydenV8
Copy link
Copy Markdown
Owner

No description provided.

Project uses pnpm; package-lock.json is not needed.
- Append `import.meta.hot.accept()` to load() output in dev server mode
- Invalidate cooked modules in module graph when source files change
- No impact on production builds (HMR code is tree-shaken by Vite)
- No impact on existing tests (HMR only activates after configureServer)
- Fix IIFE globals mapping: preserve scope info (@emotion/react → emotionReact)
- Unify banner handling: always append after minification in both esbuild/oxc paths
- Replace fs.statSync with async fs.promises.stat to avoid blocking event loop
- Fix double type cast: getCacheKey now accepts CookedQuery directly
- Export buildGlobalsMap for testability
- Add test for scoped package globals mapping
Vite 8 requires Node ^20.19.0 || >=22.12.0, so Node 18 is not
supported for development. The plugin itself still works with
Vite 4-7 on Node 18 via peerDependencies.
@JaydenV8 JaydenV8 merged commit bd33710 into main Mar 14, 2026
3 checks passed
@JaydenV8 JaydenV8 deleted the claude/assess-production-readiness-WHuks branch March 14, 2026 14:37
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