ソースを参照

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
+		//})
+	}
+}