Преглед изворни кода

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 година
родитељ
комит
d244025736
1 измењених фајлова са 10 додато и 0 уклоњено
  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
+		//})
+	}
+}