` replaceManifest('mp-weixin.appid', JSON.stringify(process.UNI_SCRIPT_ENV.VUE_APP_APPID))
fs.writeFileSync(manifestPath, Manifest, {
"flag": "w"
})
//处理静态资源
const projects = process.UNI_SCRIPT_DEFINE || {};
const paths = process.UNI_SCRIPT_ENV.CUSTOM_ASSETS_PATH || [];
let deleteDirs = []
for (let key in projects) {
if (!projects[key]) {
paths.map(item => {
deleteDirs.push(item + "/" + key.toLowerCase())
})
}
}`
0 个回复