Explorar el Código

Disable prefetch plugin

Optimization may be done later.
The settings of this plugin are somehow not working (tbi).
It wants to prefetch everything as of now, probably since the total size is small.
Ecconia hace 7 años
padre
commit
d244025736
Se han modificado 1 ficheros con 10 adiciones y 0 borrados
  1. 10 0
      vue.config.js

+ 10 - 0
vue.config.js

@@ -0,0 +1,10 @@
+module.exports = {
+	chainWebpack: (config) => {
+		config.plugins.delete('prefetch')
+		//Doesn't work, to be investigated:
+		//config.plugin('prefetch').tap(options => {
+		//	options.fileBlackList = ['./views/Impressum.js']
+		//	return options
+		//})
+	}
+}