Skip to content

Commit

Permalink
Export ESM Runner from index.mjs instead of cjs runner
Browse files Browse the repository at this point in the history
  • Loading branch information
Prasad Madanayake committed Apr 19, 2024
1 parent 6a5c249 commit 09b4460
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import mod from "./index.js";
import runner from './src/runner-esm.mjs'

export default mod;
export const CIRCUIT_CLOSE = mod.CIRCUIT_CLOSE;
Expand All @@ -18,7 +19,7 @@ export const MetricTypes = mod.MetricTypes;
export const Middlewares = mod.Middlewares;
export const PROTOCOL_VERSION = mod.PROTOCOL_VERSION;
export const Registry = mod.Registry;
export const Runner = mod.Runner;
export const Runner = runner;
export const Serializers = mod.Serializers;
export const Service = mod.Service;
export const ServiceBroker = mod.ServiceBroker;
Expand Down

0 comments on commit 09b4460

Please sign in to comment.