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(render): Ensure only CSS and JS assets are rendered #238

Merged
merged 1 commit into from Dec 7, 2018

Conversation

markdalgleish
Copy link
Member

We previously used Lodash's partition function on the assumption that only .css and .js files were being provided, but it turns out that's not the case. This fix ensures that we filter for the exact file type we're looking for, rather than assuming we want to render every asset.

@markdalgleish markdalgleish merged commit 763bd1c into master Dec 7, 2018
@markdalgleish markdalgleish deleted the only-render-css-and-js-assets branch December 7, 2018 03:31
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.

None yet

3 participants