Skip to content
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

Delete previous builds #54

Closed
jimmyn opened this issue Oct 17, 2016 · 3 comments
Closed

Delete previous builds #54

jimmyn opened this issue Oct 17, 2016 · 3 comments

Comments

@jimmyn
Copy link

jimmyn commented Oct 17, 2016

Is there any way to delete previous files? I use hash in file names to invalidate only index.html but every time webpack generates a new hash value I got duplicated files in my S3 bucket. Is there any way to avoid that?

@MikaAK
Copy link
Owner

MikaAK commented Oct 18, 2016

That's outside the scope of this plugin

@MikaAK MikaAK closed this as completed Oct 18, 2016
@ianks
Copy link

ianks commented Jul 6, 2017

@MikaAK Can you elaborate on why it would be outside the scope of this plugin? Other tools (i.e. s3_website) handle this use case. From a user's POV, this feature would save a ton of hassle. s3-webpack-plugin has knowledge of all of the uploaded files, and thus it would be more robust to have s3-website-plugin to handle this.

@MikaAK
Copy link
Owner

MikaAK commented Jul 6, 2017

This is more of an uploader but is turning into something more robust. Surprise and change is coming very soon just wait till then and maybe we can look back into it @ianks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants