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 22, 2019
1 parent 235195f commit d31c1fe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,8 @@
# Changelog

## v6.2.1
* [Output types alongside JS files, enable declaration maps](https://github.com/TypeStrong/ts-loader/pull/1026) - thanks @meyer!

## v6.2.0
* [Emitting .tsbuildinfo when using watch api](https://github.com/TypeStrong/ts-loader/pull/1017) - thanks @sheetalkamat!

Expand Down
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 d31c1fe

Please sign in to comment.