You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The resource xxx.css was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
Additional info
The bug happens only when there is a '?' present in the public path probably because it thinks what's following is a query string, but it should probably only use the base name and not parse all the file name
The text was updated successfully, but these errors were encountered:
Tofandel
added a commit
to Tofandel/preload-webpack-plugin
that referenced
this issue
Jul 11, 2020
Version
4.4.6
Reproduction link
https://github.com/Tofandel/preload-bug
Environment info
Steps to reproduce
Create a vue cli project, change the public path to
<?php echo $publicPath ?>
build for production, check the output of the index.htmlWhat is expected?
The css files to be preloaded as a style
What is actually happening?
The css files are preloaded as script
Resulting in this warning:
Additional info
The bug happens only when there is a '?' present in the public path probably because it thinks what's following is a query string, but it should probably only use the base name and not parse all the file name
The text was updated successfully, but these errors were encountered: