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

Facilitate hashed file names from webpack #19

Closed
johnbillion opened this issue May 14, 2020 · 1 comment
Closed

Facilitate hashed file names from webpack #19

johnbillion opened this issue May 14, 2020 · 1 comment

Comments

@johnbillion
Copy link
Member

Webpack allows you to configure the output.filename property of an asset and include a hash in it, such as [name].[hash].js.

Using this naming convention means you can skip using the $ver parameter when enqueueing the asset in WordPress. It would be great if Asset Loader either transparently or optionally allowed for this, allowing the md5_file() version usage to be skipped.

@johnbillion
Copy link
Member Author

Whoops, #2.

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

1 participant