mirror of
https://github.com/nuxt/nuxt.git
synced 2025-03-09 03:03:18 +00:00
spa prefetch chunks
This commit is contained in:
parent
7a9539e74f
commit
f54cfc3d66
@ -93,7 +93,11 @@ export default function webpackClientConfig () {
|
||||
'vendor',
|
||||
'common',
|
||||
'manifest'
|
||||
]
|
||||
],
|
||||
prefetch: {
|
||||
test: /\.js$/,
|
||||
chunks: 'async'
|
||||
}
|
||||
})
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user