-
-
Couldn't load subscription status.
- Fork 6.3k
Closed
Description
Version
3.0.4
Node and OS info
Node 10.10.0 / yarn 1.9.4
Steps to reproduce
// Resulting VUE config
module.exports = {
chainWebpack: (config) => {
config.plugins.delete('prefetch');
},
};
What is expected?
No any <link rel="prefetch" href="/js/XXX.js"> of async components in html head section.
What is actually happening?
Tags <link rel="prefetch" href="/js/XXX.js"> present in head.
Notes
This code disappears from the configuration (vue inspect):
new PreloadPlugin({
rel: 'prefetch',
include: 'asyncChunks'
}),
The strange thing is that even in the absence of a plugin in vue inspect, <link> tags still appear in html.
Metadata
Metadata
Assignees
Labels
No labels