Skip to content

Commit

Permalink
chore: migrate to mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
betula committed Nov 30, 2023
1 parent 8b0eb31 commit 055d616
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
File renamed without changes.
6 changes: 6 additions & 0 deletions jest.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
transform: {
"^.+\\.mjs$": "babel-jest",
"^.+\\.ts$": "babel-jest",
},
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "2.0.0",
"description": "How to easy collect unsubscribe functions from several sources",
"type": "module",
"main": "index.js",
"main": "index.mjs",
"types": "index.d.ts",
"scripts": {
"test": "jest"
Expand Down

0 comments on commit 055d616

Please sign in to comment.