-
Notifications
You must be signed in to change notification settings - Fork 53
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
Reduce size of slug generated by Anvil #39
Comments
The README should make it clear to do a Running the following is now letting it do things:
|
Oh thank you so much! I'm going to try that now. Too bad that it forces you to rebuild again locally... |
Currently using
stash my compiled files, and
to restore them. (It takes a really long time to rebuild everything) |
@begriffs Shall I remove "the large slug" bit from this issue? It might make more sense to have some more concrete issues like #2 and #44 addressing this. I'm thinking that some kind of |
The cleanup pre-anvil steps are noted in the readme now. I'm going to close this issue since we have more specific ones now. |
Right now uploading a large project to anvil is extremely slow - easily 30 minutes or more I think. This is because the
dist/
and.cabal-sandbox/
directories can get very large (I think... currently these directories weigh in at around 370MB for our project).One thing I attempted was to add these two paths to the
.slugignore
file. At first I thought that this was working, but it seems like I was fooled by the anvil upload continuing where it left off.I also tried
instead of
Don't know if there are any better options - would be great if anvil had some kind of
.anvilignore
configuration. It would also be great to decrease the size of the slug. I'll add comments to this issue as I figure things out...The text was updated successfully, but these errors were encountered: