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

Fix JS query string versioning when using addStyleEntry #161

Merged

Conversation

Lyrkan
Copy link
Collaborator

@Lyrkan Lyrkan commented Sep 15, 2017

This PR fixes an error occuring when calling addStyleEntry and using a query string versioning strategy at the same time (closes #160).

Basically, the delete-unused-entries part that removes "fake" js files created by the addStyleEntry method would only pick filenames ending by .js which may not be the case at this point if the chunkhash is appened after the filename as a query string (e.g.: [name].js?[chunkhash:16]).

@Lyrkan Lyrkan merged commit 776be52 into symfony:master Sep 16, 2017
@Lyrkan Lyrkan deleted the fix-query-string-versioning-addstyleentry branch September 22, 2017 13:32
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

Successfully merging this pull request may close these issues.

configureFilenames hash after question mark
2 participants