Skip to content

Commit

Permalink
feat: add missing module file (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
vboechat authored Jun 16, 2024
2 parents 4cfe68a + 8e4071a commit b6a4210
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"dist"
],
"scripts": {
"build": "tsc",
"build": "tsc && cp ./dist/index.js ./dist/index.mjs",
"test": "vitest"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
"declarationDir": "./dist",
"emitDeclarationOnly": false,
"target": "ESNext",
"module": "NodeNext",
"module": "ESNext",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"moduleResolution": "NodeNext"
"moduleResolution": "Bundler"
},
"include": ["src"]
}

0 comments on commit b6a4210

Please sign in to comment.