Skip to content

Commit

Permalink
build: Switched to ESM-first exports (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eengineer1 authored Feb 14, 2023
1 parent 5d422ef commit 2b8ab21
Show file tree
Hide file tree
Showing 6 changed files with 1,740 additions and 769 deletions.
5 changes: 5 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
"name": "develop",
"channel": "beta",
"prerelease": true
},
{
"name": "commonjs",
"channel": "cjs",
"prerelease": true
}
],
"tagFormat": "${version}",
Expand Down
1 change: 1 addition & 0 deletions jest.config.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
module.exports = {
extensionsToTreatAsEsm: ['.ts'],
moduleNameMapper: {
'^(\\.{1,2}/.*)\\.js$': '$1',
},
Expand Down
Loading

0 comments on commit 2b8ab21

Please sign in to comment.