mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-04-30 00:41:12 -05:00
docs: fix prefetch custom config snippet (#2670) [ci skip]
This commit is contained in:
committed by
Haoqun Jiang
parent
7177097459
commit
9757f144e6
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user