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.
11 lines
345 B
11 lines
345 B
module.exports = function (pagesJson, manifestJson) {
|
|
const {
|
|
app,
|
|
project
|
|
} = require('../mp')(pagesJson, manifestJson, require('./project.config.json'))
|
|
// 暂不支持分包,兼容引擎判断
|
|
if (app.content.subPackages && !app.content.subPackages.length) {
|
|
delete app.content.subPackages
|
|
}
|
|
return [app, project]
|
|
}
|
|
|