Closed benbonnet closed 3 months ago
Hi Ben!
globEagerDefault
was an internal API in Vite which was removed in favour of passing options to glob
:
import.meta.glob('../pages/*.jsx', { import: 'default', eager: true }),
Please use Discussions instead of Issues if you have additional questions.
More or less to report, i was trying out the recent evil martians intertiajs post and trying to get further with the vite ssr capabilities. As of now, unsure if the example repo is enough to get things running, hopefully seeking here some further guidance.
Bug encountered below.
bundle update vite_ruby
.Description 📖
Taking the vite ssr example (https://github.com/ElMassimo/inertia-rails-ssr-template), trying to run in "production" mode.
RAILS_ENV=production bundle exec rails assets:precompile
works okPORT=3000 RAILS_ENV=production overmind start
failsLogs 📜