Skip to content

Commit

Permalink
Output types alongside JS files
Browse files Browse the repository at this point in the history
  • Loading branch information
meyer committed Oct 21, 2019
1 parent e37f301 commit be4d33e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -3,7 +3,7 @@
"version": "6.2.0",
"description": "TypeScript loader for webpack",
"main": "index.js",
"types": "dist/types/index.d.ts",
"types": "dist",
"scripts": {
"build": "tsc --version && tsc --project \"./src\"",
"lint": "tslint --project \"./src\"",
Expand Down
3 changes: 2 additions & 1 deletion src/tsconfig.json
Expand Up @@ -10,7 +10,8 @@
"moduleResolution": "node",
"declaration": true,
"outDir": "../dist",
"declarationDir": "../dist/types",
"declarationDir": "../dist",
"declarationMap": true,
"sourceMap": true
}
}

0 comments on commit be4d33e

Please sign in to comment.