I have a Vue CLI 3 project, with lazy loading for the components. When running npm run build and serving the dist folder, I see that a CSS file is first prefetched and then loaded:
<link href="/css/article.70090a14.css" rel="prefetch">
and
<link rel="stylesheet" type="text/css" href="/css/article.70090a14.css">
This is the default behaviour of the Webpack config when executing npm run build. At the moment Lighthouse (Google's audit tool) is complaining and advises me the following:
"Preload key requests: /css/article.70090a14.css"
My question is, how can I add to / change this behaviour to do a preload instead of a prefetch?