Package upgrades and build issue fixes#189
Merged
Merged
Conversation
This was referenced Jan 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrades packages and attempts to work through build-related issues.
Resolved 🟢
yarn.lockfrom scratch (rm yarn.lock && yarn install) since some old versions of dependencies were still being pulled inminify: falsefrom PR188. There is a better fix for #187. The oxc team answered in MR7855. The resolution was upgrading to vite8.0.0-beta.8including by regeneration ofyarn.lock, followed by working through other issues related to plugin configsImproved(I got further on two issues, but removed package due to others, see below)vite-plugin-node-polyfillsconfigurationcan't access lexical declaration '__buffer_polyfill' before initialization)Remaining issues with
vite-plugin-node-polyfills🟠Buffer is not definedat runtime 😞 No point using the plugin for now if we can only get it working in development builds.I also still get build warnings related to
vite-plugin-node-polyfills. I think we could live with them short-term until the Vite 8 rollout and community packages are more finalised.#142
warning: esbuild option was specified by "vite-plugin-node-polyfills" plugin. This option is deprecated, please use oxc insteadBoth esbuild and oxc options were set. oxc options will be used and esbuild options will be ignoredvite-plugin-node-polyfills. Looks like there is no fix yet - all known versions ofellipticpackage have this. Follow #344 and #144.Conclusion
All packages are upgraded to latest versions, but I'm removing
vite-plugin-node-polyfillsuntil upstream issues are resolved. We can live with theBuffer is not definedruntime console warning fromreact-pdf- the app still functions.