-
Notifications
You must be signed in to change notification settings - Fork 38
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
Typescript declaration file confusion #25
Comments
Can you make a sample repo that reproduces the problem? |
Sorry I don't have time currently to do that - I forced my package back to version 4.0.1 and the issue went away so I am sure this is the problem. When I have a few hours to spend I will make a sample repo and try to reproduce it that way, sorry about that. |
I was able to reproduce locally. Looking into fixing it up. |
Fixed in v4.1.1 |
Thank you! @crookedneighbor I will try our site to use 4.1.1 tomorrow. |
This fixed it 👍 |
Running a production build of our Typescript application is now showing me:
In the console log and I am unable to run a build. I originally had the DefinitelyTyped package installed, which was recently overwritten as you are including a
dist
folder.From what I see, node is trying to read
index.js
file for some reason, when it should be readingindex.d.ts
? but I am not sure a way around this. I have version 4.1.0 installed, and it seemingly works for me locally, but only fails when running a production build.The text was updated successfully, but these errors were encountered: