Skip to content

Enable static asset extensions to be overwritten from app config #1941

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

Merged
merged 1 commit into from
Mar 3, 2019

Conversation

dreyks
Copy link
Contributor

@dreyks dreyks commented Feb 13, 2019

Currently you can only add more custom static asset extensions to app's webpacker config. If you remove some of them (e.g. for them to be loaded by url-loader) the default webpacker config merges them back in

So let's treat them the same way we do the usual extensions i.e. delete the default list if there's a user-provided one

@dreyks dreyks force-pushed the fix-static-extensions branch from 40e3cda to b62ea7f Compare February 13, 2019 15:46
@dreyks dreyks force-pushed the fix-static-extensions branch from b62ea7f to 027afc8 Compare February 14, 2019 11:27
@gauravtiwari gauravtiwari merged commit 3cdae54 into rails:master Mar 3, 2019
@gauravtiwari
Copy link
Member

Thanks :)

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.

2 participants