Skip to content

Commit 4d0c352

Browse files
committed
👷 chore: configure vite to use vite-plugin-dts for generating TypeScript declaration files.
1 parent d255aec commit 4d0c352

3 files changed

Lines changed: 641 additions & 3 deletions

File tree

‎package.json‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@haroonwaves/sqlite-wasm-easy",
3-
"version": "0.1.6",
3+
"version": "0.1.7",
44
"description": "A simple, zero-config wrapper around @sqlite.org/sqlite-wasm",
55
"type": "module",
66
"main": "./dist/index.js",
@@ -22,7 +22,7 @@
2222
"LICENSE"
2323
],
2424
"scripts": {
25-
"build": "tsc && vite build",
25+
"build": "vite build",
2626
"dev": "vite",
2727
"dev:examples": "npm run build && vite",
2828
"format": "prettier --write \"src/**/*.ts\"",
@@ -65,7 +65,8 @@
6565
"prettier": "^3.8.1",
6666
"typescript": "^5.7.3",
6767
"typescript-eslint": "^8.53.1",
68-
"vite": "^6.1.0"
68+
"vite": "^6.1.0",
69+
"vite-plugin-dts": "^4.5.4"
6970
},
7071
"repository": {
7172
"type": "git",

0 commit comments

Comments
 (0)