-
Notifications
You must be signed in to change notification settings - Fork 342
Add rel="preload" option for JS/CSS #203
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
Conversation
rel="preload" option for css (削除ここまで)5d1d3ca to
f69a02b
Compare
2e9d03d to
e64817e
Compare
EthanZeigler
commented
May 7, 2021
Is this exclusive to css? I have a lot of vue apps that would benefit massively from preloading
andruten
commented
May 12, 2021
@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
Uh oh!
There was an error while loading. Please reload this page.
Added an option to specify css file with
rel="preload":It renders to