Skip to content

fix(web): simplify webpack integration behavior#219

Merged
V3RON merged 4 commits intomainfrom
fix/web-webpack-metro-pattern
Apr 9, 2026
Merged

fix(web): simplify webpack integration behavior#219
V3RON merged 4 commits intomainfrom
fix/web-webpack-metro-pattern

Conversation

@V3RON
Copy link
Copy Markdown
Contributor

@V3RON V3RON commented Apr 9, 2026

Summary

  • remove the webpack enabled option and keep the wrapper active by default in development while returning the original config unchanged in production
  • keep @rozenite/web imported from the app entry and rely on the package's internal __DEV__ guard for runtime no-op behavior
  • stop resolving @rozenite/web through package development exports so webpack consumes built outputs instead of raw TypeScript sources
  • stop transpiling local packages/web/src sources in the playground webpack config and update tests/docs to match the final contract

Testing

  • pnpm vitest packages/web/src/tests/webpack.test.ts
  • pnpm --filter @rozenite/web build

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
rozenite Skipped Skipped Apr 9, 2026 8:22am

Request Review

@V3RON V3RON changed the title fix(web): align webpack integration with metro pattern fix(web): simplify webpack integration behavior Apr 9, 2026
@V3RON V3RON merged commit c41f0b4 into main Apr 9, 2026
4 checks passed
@V3RON V3RON deleted the fix/web-webpack-metro-pattern branch April 9, 2026 09:05
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