Browse Source

fix: vite-config warmup config (#4693)

pull/4694/head
afe1 1 year ago
committed by GitHub
parent
commit
234544c40d
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      internal/vite-config/src/config/application.ts

2
internal/vite-config/src/config/application.ts

@ -84,7 +84,7 @@ function defineApplicationConfig(userConfigPromise?: DefineApplicationOptions) {
// 预热文件 // 预热文件
clientFiles: [ clientFiles: [
'./index.html', './index.html',
'./bootstrap.ts', './src/bootstrap.ts',
'./src/{views,layouts,router,store,api}/*', './src/{views,layouts,router,store,api}/*',
], ],
}, },

Loading…
Cancel
Save