Skip to content

Commit

Permalink
Revert "remove unnecessary plugin sort order modification"
Browse files Browse the repository at this point in the history
This reverts commit 527f34d.
  • Loading branch information
Lms24 committed Dec 13, 2022
1 parent 196a8a5 commit 2591d2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function mergePlugins(pluginsA, pluginsB) {
// Hacky way to make sure the ones we care about end up where they belong in the order. (Really the TS and sucrase
// plugins are tied - both should come first - but they're mutually exclusive, so they can come in arbitrary order
// here.)
const order = ['typescript', 'sucrase', '...', 'terser', 'license'];
const order = ['excludeReplay', 'typescript', 'sucrase', '...', 'terser', 'license'];
const sortKeyA = order.includes(a.name) ? a.name : '...';
const sortKeyB = order.includes(b.name) ? b.name : '...';

Expand Down

0 comments on commit 2591d2a

Please sign in to comment.