index.js 343 字节
Newer Older
石小磊 已提交
1 2 3 4 5
module.exports = function (pagesJson, manifestJson) {
  const {
    app,
    project
  } = require('../mp')(pagesJson, manifestJson, require('./project.config.json'))
石小磊 已提交
6 7 8 9
  //暂不支持分包,兼容引擎判断
  if(app.content.subPackages && !app.content.subPackages.length){
    delete app.content.subPackages;
  }
石小磊 已提交
10 11
  return [app, project]
}