Skip to content
This repository has been archived by the owner on Mar 27, 2020. It is now read-only.

Commit

Permalink
🐞 transpile ESM to CJS for Node.js (close #2)
Browse files Browse the repository at this point in the history
  • Loading branch information
deepsweet committed May 30, 2019
1 parent b7f5635 commit 1171628
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
getDaysInMonth,
setDate,
startOfMonth
} from 'date-fns/esm'
} from 'date-fns'

const DAYS_IN_WEEK = 7

Expand Down
3 changes: 1 addition & 2 deletions tasks/babel/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ export const babelConfigNode = {
{
targets: {
node: '8.6.0'
},
modules: false
}
}
]
]
Expand Down

0 comments on commit 1171628

Please sign in to comment.