Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

type definitions not generated if atl useCache #16

Closed
mkel opened this issue Mar 6, 2017 · 1 comment
Closed

type definitions not generated if atl useCache #16

mkel opened this issue Mar 6, 2017 · 1 comment

Comments

@mkel
Copy link

mkel commented Mar 6, 2017

The current version only generates type definitions on first run if awesomeTypescriptLoaderOption useCache is true (as it is after npm install). The subsequent runs don't generate type definitions.

Also, on the first run the type definitions are generated into dist/src/, not in the dist/types/ which is the typings location specified in package.json.

@alexjoverm
Copy link
Owner

Hi, thanks for the issue!

Hmm, I had also some problems with useCache. Then better let's remove it, it doesn't save too much time anyway ;)

About the types going to 'dist/src', true that. This could be related to changing from ts-loader to awesome-typescript-loader. It seems like somehow is ignoring the outDir property on tsconfig.json.

I've already removed useCache. I've just opened #18 for that.

PR or help for the other issue would be helpful 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants