-
Notifications
You must be signed in to change notification settings - Fork 35
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
Set meta tags (ContentEncoding, ContentType), priority #161
Comments
Hey @davidecampello, thanks for your issue. |
Hi @Jefiozie, thanks for your answer. The problem is that that properties need to be set file by file. In the old plugin (a webpack plugin) we had a callback that pass the filename as parameter so we can run some logic based on extension or file name, but I don't know how I can do this with schematics. We also need a way to exclude some files and to upload some file before others and this can be done with regexp. |
Hi @davidecampello , thanks for your quick response. For the content type is this always like the mime type of the file or is this in some cases different? Excluding files is not any problem. About the rest I need to think a bit about how we could implement this in a correct way. I will try and come back to you within a couple of days. |
Thanks to you. In the past we had a edge case where we need to set a different ContentType (we had files without extension). I'm also experimenting so I'll let you know. |
Hi, after a lot of experiments I ended up making something that is not perfect and beautiful but fit to our needs. |
Hey @davidecampello @Jefiozie, I implemented the ability to set params on uploaded files CacheControl, ACL, etc |
Hi guys, first of all thanks for this interesting plugin.
At our company we use s3 to host our apps so now that we are moving to angular 9 for our new applications (before we were still using angularjs) we are looking for a way to easily deploy the code.
For our production deploys we usually set the cache-control meta, the content encoding, other meta and also we need to set the upload priority.
Is it possible to set this parameters with ngx-aws-deploy?
Eventually I can try to fork...
In the old applications we use https://github.com/MikaAK/s3-plugin-webpack
Thanks
Davide
The text was updated successfully, but these errors were encountered: