Skip to content

Commit

Permalink
adding comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ef4 committed Dec 23, 2023
1 parent ed5e09c commit 3b02398
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/compat/src/prepare-htmlbars-ast-plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ export default function loadAstPlugins(registry: any): Transform[] {
}
}
let plugins = wrappers.map((wrapper: any) => wrapper.plugin);

// the plugins in the registry historically run in backwards order for dumb
// reasons. Embroider keeps them in sensible order, so here is where we do the
// compatibility switch.
plugins.reverse();
return plugins;
}

0 comments on commit 3b02398

Please sign in to comment.