Skip to content

Fix: Add optimizeDeps to pre-bundle React for browser - #81

Merged
berkandirim merged 1 commit into
adidas:masterfrom
berkandirim:release/alpha.3
Sep 18, 2026
Merged

berkandirim merged 1 commit into
adidas:masterfrom
berkandirim:release/alpha.3

Conversation

@berkandirim

Copy link
Copy Markdown
Member

Vite needs to optimize bare module imports like 'react' and 'react-dom' for the browser. Without this, the browser sees bare imports and fails with 'Failed to resolve module specifier' errors.

Fixes empty page when viewing email templates in dev server.

Vite needs to optimize bare module imports like 'react' and 'react-dom'
for the browser. Without this, the browser sees bare imports and fails
with 'Failed to resolve module specifier' errors.

Fixes empty page when viewing email templates in dev server.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@berkandirim
berkandirim merged commit 7bffc9f into adidas:master Sep 18, 2026
4 checks passed
@berkandirim
berkandirim deleted the release/alpha.3 branch September 18, 2026 11:24
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