Skip to content

Commit

Permalink
Fix: concurrently esm default export undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
Codex- committed Sep 10, 2023
1 parent 1618208 commit f4fdd59
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ import concurrently from './dist/src/index.js';
// NOTE: the star reexport doesn't work in Node <12.20, <14.13 and <15.
export * from './dist/src/index.js';

export default concurrently.default;
// In some cases, like with Bun, `default` is undefined and the function itself is
// safely accessible via `concurrently`.
export default concurrently.default || concurrently;

0 comments on commit f4fdd59

Please sign in to comment.