chore: 初始化仓库基线(AGENTS.md、git 规范、敏感文件排除)
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
import type { UserConfigExport } from '@tarojs/cli';
|
||||
export default {
|
||||
mini: {
|
||||
optimizeMainPackage: {
|
||||
enable: true,
|
||||
},
|
||||
minify: {
|
||||
enable: true,
|
||||
config: {
|
||||
keep_classnames: false,
|
||||
keep_fnames: false,
|
||||
mangle: {
|
||||
toplevel: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
treeShaking: {
|
||||
enable: true,
|
||||
},
|
||||
uglify: {
|
||||
enable: true,
|
||||
},
|
||||
},
|
||||
h5: {},
|
||||
} satisfies UserConfigExport<'webpack5'>;
|
||||
Reference in New Issue
Block a user