Skip to content

Commit

Permalink
refactor(ses): update Hermes transform from async to sync
Browse files Browse the repository at this point in the history
  • Loading branch information
leotm committed Sep 18, 2024
1 parent 56e4660 commit 431bff3
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions packages/ses/scripts/hermesTransforms.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,7 @@ const asyncArrowEliminator = {
};

export const hermesTransforms = {
mjs: async (
sourceBytes,
specifier,
location,
_packageLocation,
{ sourceMap },
) => {
mjs: (sourceBytes, specifier, location, _packageLocation, { sourceMap }) => {
const transforms = {
...asyncArrowEliminator,
// Some transforms might be added based on the specifier later
Expand Down

0 comments on commit 431bff3

Please sign in to comment.