Skip to content

Migrate from webpack + jest to vite + vitest#8

Open
usualoma wants to merge 3 commits intodevelopfrom
migrate-react-19
Open

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

Conversation

@usualoma
Copy link
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
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