Skip to content

Commit

Permalink
fix: order package exports
Browse files Browse the repository at this point in the history
  • Loading branch information
arlac77 committed Dec 28, 2024
1 parent ddbc044 commit ad73cf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mergers/package.mjs
Original file line number Diff line number Diff line change
@@ -96,7 +96,7 @@ const sortedKeys = [

const propertyKeys = ["description", "version", "name", "main", "browser"];

const MODULE_HINT = { type: "fix", scope: "module" };
const MODULE_HINT = { type: "fix", scope: "module", orderBy: [ "node-addons", "node", "import", "require", "module-sync", "svelte", "types", "default"] };
const REMOVE_HINT = { compare, removeEmpty: true };
const DEPENDENCY_HINT = { merge: mergeVersionsLargest, scope: "deps" };
const DEPENDENCY_HINT_FIX = { type: "fix", ...DEPENDENCY_HINT };

0 comments on commit ad73cf5

Please sign in to comment.