How disable rel="prefetch" in dynamic route import?
I'm using @vue/cli 4.3.1 and Webpack 4.43.0, trying to disable prefetch:
in route.js
const Registration = () => import( /* webpackPrefetch: false */
/* webpackChunkName: "registration" */ '../modules/Popup/Registration.vue')
trying configure in vue.config.js, but not help
chainWebpack: config => {
config.plugins.delete('prefetch')
config.plugins.delete('prefetch-index') // or
config.plugins.delete('preload')
}
but anyway have
<link rel="prefetch" ....>