docs: fix prefetch custom config snippet (#2670) [ci skip]

This commit is contained in:
Alexandre Bonaventure Geissmann
2018-10-12 06:11:44 -04:00
committed by Haoqun Jiang
parent 7177097459
commit 9757f144e6
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ module.exports = {
// изменяем его настройки:
config.plugin('prefetch').tap(options => {
options[0].fileBlacklist = options[0].fileBlacklist || []
options[0].fileBlacklist.push([/myasyncRoute(.)+?\.js$/])
options[0].fileBlacklist.push(/myasyncRoute(.)+?\.js$/)
return options
})
}