Closed jf-t closed 3 years ago
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 :+1:
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.