You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
527 B
18 lines
527 B
|
3 years ago
|
module.exports = function (pagesJson, manifestJson) {
|
||
|
|
const {
|
||
|
|
app,
|
||
|
|
project
|
||
|
|
} = require('../mp')(pagesJson, manifestJson, require('./project.config.json'))
|
||
|
|
if (app.content && app.content.subPackages && app.content.subPackages.length === 0) {
|
||
|
|
delete app.content.subPackages
|
||
|
|
}
|
||
|
|
if (project) {
|
||
|
|
project.content.qqappid = project.content.appid
|
||
|
|
project.content.qqLibVersion = project.content.libVersion
|
||
|
|
delete project.content.appid
|
||
|
|
delete project.content.libVersion
|
||
|
|
}
|
||
|
|
|
||
|
|
return [app, project]
|
||
|
|
}
|