Skip to content

Commit

Permalink
fix: also remove main :"index"
Browse files Browse the repository at this point in the history
  • Loading branch information
arlac77 committed May 28, 2019
1 parent 83c0572 commit e1ec34f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cleanup.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ export async function cleanup(context, stagingDir) {
}

switch (pkg.main) {
case "index":
case "index.js":
case "":
delete pkg.main;
Expand Down

0 comments on commit e1ec34f

Please sign in to comment.