Files
miniapp-template-ts/project.config.json
T
熊熊熊子路 99e49ef286 feat(config): 添加全局SASS/SCSS导入配置
设置`sassCommonUseFilePath`和`scssCommonUseFilePath`以引用全局SASS和SCSS文件,实现项目范围内的样式导入,无需在每个组件中显式编写@use语句。
2026-07-31 11:32:16 +08:00

61 lines
1.4 KiB
JSON

{
"description": "项目配置文件",
"miniprogramRoot": "miniprogram/",
"compileType": "miniprogram",
"setting": {
"useCompilerPlugins": [
"typescript",
"sass"
],
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"coverView": true,
"postcss": true,
"minified": true,
"enhance": true,
"showShadowRootInWxmlPanel": true,
"packNpmRelationList": [
{
"packageJsonPath": "./package.json",
"miniprogramNpmDistDir": "./miniprogram/"
}
],
"ignoreUploadUnusedFiles": true,
"compileHotReLoad": true,
"skylineRenderEnable": false,
"es6": true,
"compileWorklet": false,
"uglifyFileName": false,
"uploadWithSourceMap": true,
"packNpmManually": true,
"minifyWXSS": true,
"minifyWXML": true,
"localPlugins": false,
"condition": false,
"swc": true,
"disableSWC": false,
"disableUseStrict": false,
"urlCheck": false,
"sassSetting": {
"sassCommonUseFilePath": "global.sass",
"scssCommonUseFilePath": "global.scss"
}
},
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},
"condition": {},
"srcMiniprogramRoot": "miniprogram/",
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
},
"libVersion": "3.14.1",
"packOptions": {
"ignore": [],
"include": []
},
"appid": "你的appid"
}