chore: 初始化仓库基线(AGENTS.md、git 规范、敏感文件排除)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import type { UserConfigExport } from '@tarojs/cli';
|
||||
export default {
|
||||
logger: {
|
||||
quiet: false,
|
||||
stats: true,
|
||||
},
|
||||
mini: {},
|
||||
h5: {
|
||||
devServer: {
|
||||
open: false, //禁止自动打开浏览器
|
||||
proxy: [
|
||||
{
|
||||
context: ['/api', '/ws'],
|
||||
target: 'http://localhost:3000',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
ws: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
} satisfies UserConfigExport<'webpack5'>;
|
||||
Reference in New Issue
Block a user