miniprogram-ci ^1.5.1 使用ci+jekins上传发现project.config.json的配置未生效,后打印上传过程发现project.config.json配置文件并未被上传,
使用微信开发者工具上传发现project.config.json生效,发现project.config.json文件上传成功,请问如何解决这个问题?
{
"name": "",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "npm run dev:h5",
"dev:mp-weixin": "cross-env NODE_ENV=development UNI_PLATFORM=mp-weixin vue-cli-service uni-build --watch",
"build:mp-weixin": "cross-env NODE_ENV=production UNI_PLATFORM=mp-weixin vue-cli-service uni-build",
"build:app-plus": "cross-env NODE_ENV=production UNI_PLATFORM=app-plus vue-cli-service uni-build"
},
"dependencies": {
"@dcloudio/uni-app-plus": "^2.0.0-31920210609001",
"@dcloudio/uni-h5": "^2.0.0-31920210609001",
"@dcloudio/uni-helper-json": "^1.0.13",
"@dcloudio/uni-i18n": "^2.0.0-31920210609001",
"@dcloudio/uni-mp-360": "^2.0.0-31920210609001",
"@dcloudio/uni-mp-alipay": "^2.0.0-31920210609001",
"@dcloudio/uni-mp-baidu": "^2.0.0-31920210609001",
"@dcloudio/uni-mp-kuaishou": "^2.0.0-31920210609001",
"@dcloudio/uni-mp-qq": "^2.0.0-31920210609001",
"@dcloudio/uni-mp-toutiao": "^2.0.0-31920210609001",
"@dcloudio/uni-mp-vue": "^2.0.0-31920210609001",
"@dcloudio/uni-mp-weixin": "^2.0.0-31920210609001",
"@dcloudio/uni-quickapp-native": "^2.0.0-31920210609001",
"@dcloudio/uni-quickapp-webview": "^2.0.0-31920210609001",
"@dcloudio/uni-stat": "^2.0.0-31920210609001",
"@vue/shared": "^3.0.0",
"core-js": "^3.6.5",
"cos-js-sdk-v5": "^1.2.14",
"crypto-js": "^4.0.0",
"flyio": "^0.6.2",
"js-base64": "^2.6.4",
"regenerator-runtime": "^0.12.1",
"umtrack-wx": "^2.5.2",
"vue": "^2.6.11",
"vuex": "^3.2.0"
},
"devDependencies": {
"@babel/runtime": "~7.12.0",
"@dcloudio/types": "*",
"@dcloudio/uni-automator": "^2.0.0-31920210609001",
"@dcloudio/uni-cli-shared": "^2.0.0-31920210609001",
"@dcloudio/uni-migration": "^2.0.0-31920210609001",
"@dcloudio/uni-template-compiler": "^2.0.0-31920210609001",
"@dcloudio/vue-cli-plugin-hbuilderx": "^2.0.0-31920210609001",
"@dcloudio/vue-cli-plugin-uni": "^2.0.0-31920210609001",
"@dcloudio/vue-cli-plugin-uni-optimize": "^2.0.0-31920210609001",
"@dcloudio/webpack-uni-mp-loader": "^2.0.0-31920210609001",
"@dcloudio/webpack-uni-pages-loader": "^2.0.0-31920210609001",
"@vue/babel-preset-app": "^4.5.13",
"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-service": "~4.5.0",
"babel-plugin-import": "^1.11.0",
"cross-env": "^7.0.2",
"jest": "^25.4.0",
"less-loader": "^7.3.0",
"mini-types": "*",
"miniprogram-api-typings": "*",
"miniprogram-ci": "^1.5.1",
"postcss-comment": "^2.0.0",
"sass": "^1.38.1",
"sass-loader": "^8.0.2",
"vue-template-compiler": "^2.6.11"
},
"browserslist": [
"Android >= 4",
"ios >= 8"
],
"uni-app": {
"scripts": {}
}
}
project.config.json生效具体指啥?
你提供的是package.json文件的内容?
{
"description": "项目配置文件。",
"packOptions": {
"ignore": []
},
"setting": {
"urlCheck": false,
"es6": false,
"enhance": false,
"postcss": true,
"preloadBackgroundData": false,
"minified": true,
"newFeature": false,
"coverView": true,
"nodeModules": false,
"autoAudits": false,
"showShadowRootInWxmlPanel": true,
"scopeDataCheck": false,
"uglifyFileName": false,
"checkInvalidKey": true,
"checkSiteMap": true,
"uploadWithSourceMap": true,
"compileHotReLoad": false,
"lazyloadPlaceholderEnable": false,
"useMultiFrameRuntime": true,
"useApiHook": true,
"useApiHostProcess": false,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"enableEngineNative": false,
"useIsolateContext": true,
"userConfirmedBundleSwitch": false,
"packNpmManually": false,
"packNpmRelationList": [],
"minifyWXSS": true,
"showES6CompileOption": false
@社区技术运营专员-Jahozheng