Skip to content

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