Skip to content

Commit

Permalink
sort
Browse files Browse the repository at this point in the history
  • Loading branch information
gz65555 committed Sep 24, 2024
1 parent 491c052 commit eeef2fd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,10 @@ function makeRollupConfig(pkg) {
return configs;
}

const builderConfigs = pkgs.map(makeRollupConfig).flat();

builderConfigs.sort((_, b) => {
if (b.output.format === "umd") return -1
})

export default Promise.all(pkgs.map(makeRollupConfig).flat());

0 comments on commit eeef2fd

Please sign in to comment.