录音统计
This commit is contained in:
@@ -37,6 +37,23 @@ module.exports = {
|
||||
errors: true
|
||||
},
|
||||
// before: require('./mock/mock-server.js'), // 注释掉 mock 服务器
|
||||
watchOptions: {
|
||||
ignored: [
|
||||
'**/node_modules/**',
|
||||
'**/DumpStack.log.tmp',
|
||||
'**/DumpStack.log',
|
||||
'**/System Volume Information/**',
|
||||
'**/Windows/**',
|
||||
'**/Program Files/**',
|
||||
'**/Program Files (x86)/**',
|
||||
'**/pagefile.sys',
|
||||
'**/hiberfil.sys',
|
||||
'**/swapfile.sys',
|
||||
'**/D:/**'
|
||||
],
|
||||
poll: 1000,
|
||||
aggregateTimeout: 300
|
||||
},
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://localhost:9060', // 从环境变量获取后端服务器地址
|
||||
@@ -56,6 +73,23 @@ module.exports = {
|
||||
alias: {
|
||||
'@': resolve('src')
|
||||
}
|
||||
},
|
||||
// 解决 Windows 下 chokidar 文件监听问题
|
||||
watchOptions: {
|
||||
ignored: [
|
||||
'**/node_modules/**',
|
||||
'**/DumpStack.log.tmp',
|
||||
'**/DumpStack.log',
|
||||
'**/System Volume Information/**',
|
||||
'**/Windows/**',
|
||||
'**/Program Files/**',
|
||||
'**/Program Files (x86)/**',
|
||||
'**/pagefile.sys',
|
||||
'**/hiberfil.sys',
|
||||
'**/swapfile.sys'
|
||||
],
|
||||
poll: 1000,
|
||||
aggregateTimeout: 300
|
||||
}
|
||||
},
|
||||
chainWebpack(config) {
|
||||
|
||||
Reference in New Issue
Block a user