-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yarn integrity #136
Comments
this is due to the fact that rails runs an integrity check on production when it does a yarn install as part of deployment, I believe |
ok, so when i run when I run
Looking at the rails task for yarn_install it does this:
So, it runs that production flag. This means
Which is great for production, obviously, but not so great for dev. It's also tangent to the original problem of this issue: integrity checks. After speaking with @banukutlu it looks like the best option might be to just modify |
I think what's going on here is that the two settings (one in
The two are mutually exclusive. This issue addresses item 2 above. For the record, we are telling Rails not to check integrity on production because we already are on development, so it'd be redundant, unnecessary expense. I believe this is what's going on afaik. |
Also as a side note see rails/webpacker@c2d032c - we will need to move integrity check config to webpacker.yml from environment configs when we move on to webpacker v4 |
from deployment script:
related to https://git.psu.edu/i-tech/psulib_blacklight_deploy/issues/17
The text was updated successfully, but these errors were encountered: