- 开启 useCompilerPlugins: ["typescript"],源码改为 app.ts / pages/**/*.ts / utils/*.ts - 引入 miniprogram-api-typings 与 tsconfig(strict),新增 npm run typecheck - 事件与页面数据补充类型,setData 改为整体对象赋值 - AGENTS.md 补充技术栈、类型校验与命名约束
43 lines
914 B
JSON
43 lines
914 B
JSON
{
|
|
"compileType": "miniprogram",
|
|
"libVersion": "trial",
|
|
"packOptions": {
|
|
"ignore": [],
|
|
"include": []
|
|
},
|
|
"setting": {
|
|
"coverView": true,
|
|
"es6": true,
|
|
"postcss": true,
|
|
"minified": true,
|
|
"enhance": true,
|
|
"showShadowRootInWxmlPanel": true,
|
|
"packNpmRelationList": [],
|
|
"babelSetting": {
|
|
"ignore": [],
|
|
"disablePlugins": [],
|
|
"outputPath": ""
|
|
},
|
|
"compileWorklet": false,
|
|
"uglifyFileName": false,
|
|
"uploadWithSourceMap": true,
|
|
"packNpmManually": false,
|
|
"minifyWXSS": true,
|
|
"minifyWXML": true,
|
|
"localPlugins": false,
|
|
"condition": false,
|
|
"swc": false,
|
|
"disableSWC": true,
|
|
"disableUseStrict": false,
|
|
"useCompilerPlugins": [
|
|
"typescript"
|
|
]
|
|
},
|
|
"condition": {},
|
|
"editorSetting": {
|
|
"tabIndent": "auto",
|
|
"tabSize": 2
|
|
},
|
|
"appid": "wxa245a406833a7d1c",
|
|
"simulatorPluginLibVersion": {}
|
|
} |