Skip to content

Commit

Permalink
Switch to CommonJS module
Browse files Browse the repository at this point in the history
  • Loading branch information
luin committed Aug 18, 2022
1 parent cfc0ccb commit af028d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/emitter.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import EventEmitter from 'eventemitter3';
import * as EventEmitter from 'eventemitter3';
import instances from './instances';
import logger from './logger';

Expand Down
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"target": "es6",
"sourceMap": true,
"declaration": true,
"module": "es6",
"module": "CommonJS",
"moduleResolution": "node"
},
"include": ["./**/*"]
Expand Down

0 comments on commit af028d1

Please sign in to comment.