Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/replace webpack with vite #150

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

DCosti
Copy link
Contributor

@DCosti DCosti commented Jan 10, 2025

Breaking changes

  1. Replaced Webpack+Babel with Vite for an enhanced development experience. Removed Webpack and Babel configuration files.
  2. Introduced Vite config file (vite.config.js) with a clean and minimal setup. For more configuration options, check here.
  3. All files that contains JSX syntax will now have .jsx extension.
  4. Migrate from the eslintrc format to the new flat config format. (from .eslintrc.json to eslint.config.js)
  5. index.html file have been moved from the public folder to root.
  6. All environment variables are now prefixed with VITE_ instead of REACT_.
  7. Jest have been removed and vitest is used for testing (see more).

For more information regarding Vite, check here.

Vite key improvements:

  1. Lightning-fast cold start and HMR (Hot Module Replacement).
  2. Simplified configuration, reducing complexity.
  3. Optimized build process with esbuild integration for develop and rollup build for production and built-in tree-shaking.
  4. Improved compatibility with modern JavaScript and TypeScript features.

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.

2 participants