Skip to content

Repository to reproduce an issue using Vite loading specific ES dependencies

Notifications You must be signed in to change notification settings

GlacialBoy/vite-createElement-error

Repository files navigation

Reproduction steps

  1. Run npm i
  2. Run npm run build
  3. Run npm run preview
  4. Open the browser to the URL the app is being served on (most likely http://localhost:4173/).
  5. Check the browser's debug console for errors.

You should see the error Uncaught ReferenceError: React is not defined.

About

Repository to reproduce an issue using Vite loading specific ES dependencies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published