Skip to content

Feature/migrate to vite

Migrate to vite

The purpose of this feature is to use vite instead of create-react-app.

Changes introduced with Vite

  • The entry point is now at ./index.html instead of public/index.html
  • No need of %PUBLIC_URL%
  • Use of alias path to access files. @/utils/urls refers to ./src/utils/urls.js for example
  • Files with JSX must be in .tsx or .jsx format
  • Remove legacy webpack auto compiled module, like plugins for Paella. Use of @cern-vc/cern-paella-plugins instead.

Commits

  • ️ Use of vite
  • ️ Use of NPM build process
  • 🔥 Remove plugins directory due to @cern-vc/cern-paella-plugins
  • 🚚 Rename file to conform to either tsx or jsx
  • Setup jest for testing
  • 👷 Use of npm in ci
  • 🔧 Build to build directory
  • 🔧 Update format, lint and ts confs
  • ️ Remove webVitals and logo
  • 🚚 Rename main entry point
  • 💄 Update the lint of CSS files
  • 🚨 Run lint and prettier

Merge request reports

Loading