Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Append hash to build filenames #1458

Closed
denar90 opened this issue Jul 28, 2016 · 4 comments
Closed

Append hash to build filenames #1458

denar90 opened this issue Jul 28, 2016 · 4 comments

Comments

@denar90
Copy link
Contributor

denar90 commented Jul 28, 2016

I propose to add support for appending hash to build filenames like: 'app.css' -> 'app.hasCode.css'.
This feature will be automatically search references in '*.html' files (which are in public dir) and replace 'app.css' by 'app.hasCode.css'.
I'm not sure if it's necessary feature for brunch but I'll give it a shot.
Gulp, Grunt has some plugins for doing this. Maybe it also can be plugin for brunch...

@acautin
Copy link

acautin commented Jul 28, 2016

there is one already but not properly maintained for what I have seen https://www.npmjs.com/package/digest-brunch
I am having issues with onCompile iterations which is being called multiple times overriding the manifest file.
If you find a better alternative or end up with your own solution please let me know

@Florian-R
Copy link
Contributor

You can track progress on this in #1455

@denar90
Copy link
Contributor Author

denar90 commented Jul 28, 2016

Oh thanks, sorry for duplicate.

@nblackburn
Copy link

@denar90 May as well close this and subscribe to #1455

@denar90 denar90 closed this as completed Aug 5, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

4 participants