Skip to content

Migrate from webpack + jest to vite + vitest#8

Merged
usualoma merged 3 commits intodevelopfrom
migrate-react-19
Apr 6, 2026
Merged

Migrate from webpack + jest to vite + vitest#8
usualoma merged 3 commits intodevelopfrom
migrate-react-19

Conversation

@usualoma
Copy link
Copy Markdown
Member

No description provided.

- Replace webpack with vite for bundling (ES module output)
- Replace jest with vitest for testing
- Convert to ESM (type: module in package.json)
- Use import.meta.glob for loading translation files
- Use vite-svg-loader for SVG imports (defaultImport: url)
- Rename Oembed.scss to Oembed.module.css for CSS Modules
- Rename postcss.config.js to postcss.config.cjs for CommonJS compatibility
- Remove babel (vite uses esbuild for transpilation)
- Remove core-js (no longer needed with vite)
@usualoma usualoma marked this pull request as ready for review March 17, 2026 01:13
@usualoma usualoma self-assigned this Mar 17, 2026
@comewalk comewalk self-requested a review April 3, 2026 05:35
Copy link
Copy Markdown

@comewalk comewalk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@usualoma usualoma merged commit c021738 into develop Apr 6, 2026
@usualoma usualoma deleted the migrate-react-19 branch April 6, 2026 05:57
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.

3 participants