Skip to content

Commit

Permalink
Add support for cjs and esm
Browse files Browse the repository at this point in the history
  • Loading branch information
TorstenStueber committed Dec 29, 2023
1 parent 4303c55 commit bc61fbf
Show file tree
Hide file tree
Showing 7 changed files with 1,521 additions and 25 deletions.
20 changes: 20 additions & 0 deletions _tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"compilerOptions": {
"outDir": "build",
"declaration": true,
"typeRoots": ["../../node_modules/@types"],
"types": ["node"],
"module": "commonjs",

"lib": ["es2021"],
"target": "es2021",

"strict": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true,
"moduleResolution": "node"
},

"include": ["src/**/*"]
}
Loading

0 comments on commit bc61fbf

Please sign in to comment.