Skip to content

Commit 3cafe42

Browse files
authored
Add named export for global plug (#337)
1 parent c475725 commit 3cafe42

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/index.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,9 @@ import {Configuration, Plug, GlobalPlug} from './plug';
22

33
export type {Configuration, Plug};
44

5+
const plug = new GlobalPlug();
6+
7+
export {plug};
8+
59
/* eslint-disable-next-line import/no-default-export -- Should be default export */
6-
export default new GlobalPlug();
10+
export default plug;

0 commit comments

Comments
 (0)