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
Add rel="preload" option for JS/CSS #203
Conversation
rel="preload"
option for css5d1d3ca
to
f69a02b
Compare
Is this exclusive to css? I have a lot of vue apps that would benefit massively from preloading |
@EthanZeigler I think it works with every kind of bundles. |
# Conflicts: # webpack_loader/utils.py
Thanks for the PR! I've also added support for preloading scripted files. The way I see it, this is the expected way of using this. Let me know if that makes sense: django-webpack-loader/tests/app/templates/preload.html Lines 1 to 16 in 075eba3
@rvlb I think this deserves a section in the README. Let me know if you are able to do it, or how I can help with this. |
FYI this was just included in the 1.3.0 version |
Added an option to specify css file with
rel="preload"
:It renders to