Skip to content

Commit

Permalink
fix: adjust iife rule order
Browse files Browse the repository at this point in the history
  • Loading branch information
pionxzh committed Feb 25, 2024
1 parent 1a91aa4 commit b5c3fc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/unminify/src/transformations/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export const transformationRules: TransformationRule[] = [
unFlipComparisons,

// advanced syntax upgrade
unIife,
smartInline, // relies on `lebab`'s `let` to `const` and `un-sequence-expression`
smartRename, // partially relies on `un-indirect-call` to work
unOptionalChaining,
Expand All @@ -81,7 +82,6 @@ export const transformationRules: TransformationRule[] = [
unParameters, // relies on `un-flip-comparisons` to work
unArgumentSpread,
unJsx,
unIife,
unES6Class,
unAsyncAwait,

Expand Down

0 comments on commit b5c3fc7

Please sign in to comment.