Skip to content

Conversation

@joaosreis
Copy link
Collaborator

@joaosreis joaosreis commented Jan 20, 2025

Fixes proto-kit/starter-kit#39, which was caused by some update to Next.js/Webpack on Next.js v15 that would make class names mangled on production builds, rendering in failed dependency injections that relied on the class names. This PR addresses this by setting the keys of the record with the injection tokens to be set to the dynamic value of the class names.

@joaosreis joaosreis self-assigned this Jan 20, 2025
@rpanic
Copy link
Member

rpanic commented Jan 20, 2025

Can you comment/document this issue somewhere fitting in the code? So that we don't stumble over this very hidden issue in the future

@rpanic rpanic merged commit f57b1c0 into develop Jan 31, 2025
5 checks passed
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.

Starting the app-chain client in a UI build / not during dev results into dependency errors with transaction/block hooks

3 participants