Skip to content

Commit

Permalink
generate types to dist/types
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipMasar committed Oct 17, 2024
1 parent 0e42ce3 commit aa4f0fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"require": "./dist/lib.js",
"default": "./dist/lib.modern.js"
},
"types": "./dist/src/index.d.ts",
"types": "./dist/types/index.d.ts",
"scripts": {
"start": "npm run clean && npm run build:metadata && tsc -w",
"build": "npm run clean && npm run build:metadata && microbundle build --format modern,esm,cjs,umd --compress --tsconfig tsconfig.json",
Expand Down
6 changes: 3 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"removeComments": false,
"experimentalDecorators": true,
"preserveConstEnums": true,
"outDir": "./dist/",
"outDir": "./dist",
"sourceMap": true,
"declarationDir": "./dist/"
},
"include": ["src/**/*", "test/**/*"]
"include": ["src/**/*"],
"exclude": ["node_modules", "test"]
}

0 comments on commit aa4f0fe

Please sign in to comment.