Skip to content

Commit

Permalink
fix: Correct types export form
Browse files Browse the repository at this point in the history
  • Loading branch information
v1olen committed Dec 27, 2022
1 parent 3179c33 commit 463255b
Show file tree
Hide file tree
Showing 2 changed files with 539 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"types": "dist/index.d.ts",
"type": "commonjs",
"scripts": {
"build": "vite build && tsc -m amd -t ESNext -d --isolatedModules false --moduleResolution node --esModuleInterop --outFile dist/index.js src/main.ts && rm -rf dist/index.js"
"build": "vite build && tsup src/main.ts --dts-only --minify"
},
"repository": {
"type": "git",
Expand All @@ -28,6 +28,7 @@
"@typescript-eslint/parser": "^5.47.1",
"eslint": "^8.30.0",
"eslint-plugin-tsdoc": "^0.2.17",
"tsup": "^6.5.0",
"typescript": "^4.9.3",
"vite": "^4.0.0"
}
Expand Down
Loading

0 comments on commit 463255b

Please sign in to comment.