Skip to content

Topograph/vite-issue-4416-reproduction

Repository files navigation

Reproduce issue #4416 like this

  1. npm install

  2. npm run dev

  3. see http://localhost:3000/ and you should see 4 images. toggling the "greyscale" button changes the image sources

  4. npm run build or npm run serve to inspect production build

  5. open the production build in a browser. you should see, that

    a. Not all assets have been exported (assetsInlineLimit is set to 0, in order to avoid inlining images.)

    b. There is an error in the developer console (see screenshot). following it in the production js (dist/assets/index.*.js) you will see, that not all the new URL("") paths have been correctly transformed

Build Screenshot

this is the reproduction setup for this discussion:

vitejs/vite#4416

About

This project is to show the issue described here https://github.com/vitejs/vite/issues/4416

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages