Skip to content

Commit

Permalink
fix(gulp-tool): fixed subpackges missing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dlhandsome committed Mar 31, 2020
1 parent 1556990 commit de5e90a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gulp-tool/lib/lookup.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ exports.lookupPages = function (projectDir) {
const appJson = require(appPath);

pages = appJson.pages;
subpackages = appJson.subpackages;
subpackages = appJson.subpackages || [];

pages = pages.map(p => {
return path.resolve(projectDir, p);
Expand Down

0 comments on commit de5e90a

Please sign in to comment.