Build fail due to type exports #677
itSubeDibesh
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What's the problem?
I am working on a project with
"lerna": "^3.22.1",
and had a task that requiredreact-intersection-observer
. The package was awesome and working fine until I had to deploy, my CI/CD failed and upon inspection, I got the following error.I was in a rush so to fix this, I created a JS file that would replace the exports from the
index.d.ts
file.fix-react-intersection-observer.js
I hooked it to my
postinstall
script and added it after thelerna bootstrap;
command. Everything is working well now but I am not sure if should I report this issue?Beta Was this translation helpful? Give feedback.
All reactions