Skip to content

Vite runs on development but fails on production #389

Closed Answered by ElMassimo
rockwellll asked this question in Q&A
Discussion options

You must be logged in to vote

there's a public/vite-dev directory but no public/vite

Verify that RAILS_ENV is production when precompiling assets for the Docker image.

Vite Ruby will not create public/vite-dev if you are building for production.

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ElMassimo
Comment options

Answer selected by rockwellll
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug: pending triage Something doesn't seem to be working, but hasn't been verified
2 participants
Converted from issue

This discussion was converted from issue #388 on August 03, 2023 13:31.