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

Hashes for production #33

Open
illycz opened this issue Jan 25, 2018 · 2 comments
Open

Hashes for production #33

illycz opened this issue Jan 25, 2018 · 2 comments

Comments

@illycz
Copy link

illycz commented Jan 25, 2018

How difficult would it be to implement a hash generation for production assets?

Thanks

@pqml
Copy link
Member

pqml commented Jan 25, 2018

I would also like this and I think it will be a feature for a new minor version.

The main problem is the dev environment. Bundles are saved by webpack in-memory, so it's more difficult to pass the hashes to php (or something like a bundle manifest). I need to learn more about webpack plugins, or find another solution (like set up a specific header to pass all the hashes from Nodejs to the php server)

@illycz
Copy link
Author

illycz commented Jan 25, 2018

Blendid do this, maybe you can find some inspiration: https://github.com/vigetlabs/blendid

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

No branches or pull requests

2 participants