You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vite has changed to using [name]-[hash].[extname] for asset filenames while vite-plugin-ruby still overrides it to [name].[hash].[extname] for non-SSR builds.
ElMassimo
changed the title
SSR output asset filenames different from regular build
Use [name]-[hash].[extname] for assets to match behavior in Rollup 3
Jan 16, 2023
bundle update vite_ruby
.Description 📖
Vite has changed to using
[name]-[hash].[extname]
for asset filenames while vite-plugin-ruby still overrides it to[name].[hash].[extname]
for non-SSR builds.vitejs/vite#10927
This results in the outputted asset filenames being different between regular and SSR builds.
Reproduction 🐞
Please provide a link to a repo that can reproduce the problem you ran into.
Vite Ruby Info
Run
bin/rake vite:info
and provide the output:Logs 📜
If not providing a reproduction:
Output
Run
DEBUG=vite-plugin-ruby:* bin/vite dev
orDEBUG=vite-plugin-ruby:* bin/vite build
and provide the output:Screenshots 📷
Provide console or browser screenshots of the problem.
The text was updated successfully, but these errors were encountered: