-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Feature: Force precompile for webpacker #610
Comments
We got the same problem with you. We are still doing a workaround by using |
To my knowledge, the only problem here is that mina considers only the The relevant piece of mina source is https://github.com/mina-deploy/mina/blob/master/tasks/mina/rails.rb#L8 -- the A workaround for this is to put the following inside your But of course it would be nice to offer out-of-the-box compatibility! |
👍 I'd like this too. |
Hey you could just set up the variable in your
|
Hi,
Mina version 1.0.7
We have a Rails application that uses React via webpacker.
Normally we performed our deploys with
mina deploy
with "smart precompile", skipping precompilation if there are no changes in asset files, but now we need full precompilation to occur on every deploy for webpacker to work.Currently we are working around the issue by running
mina deploy force_asset_precompile=true
, but it would be nice to make changes todeploy.rb
to change the default behaviour.The text was updated successfully, but these errors were encountered: