Skip to content

Running both vite_ruby and webpacker in the same app. #295

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

You must be logged in to vote

Hi Cody!

Yes, this is something that should just work (haven't heard of this issue before). Normally assets:precompile would continue to run as usual, as it's extended if defined, not overriden.

I'd suggest debugging the rake tasks for Vite Ruby and Webpacker, to understand what might be causing this behavior in your setup.

You can also try disabling the extension of assets:precompile and run vite:build manually if that's preferable in your setup.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by meenie
Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants