Browse Source

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 7 years ago
parent
commit
d244025736
1 changed files with 10 additions and 0 deletions
  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
+		//})
+	}
+}