Closed branko-d closed 9 months ago
FIY I stumbled upon the same issue and after some investigation I think I might have a fix 🤞
FIY I stumbled upon the same issue and after some investigation I think I might have a fix 🤞
How is the fix going? :)
@cfgs you can see a bit above your comment that this issue was closed in https://github.com/gcanti/fp-ts/pull/1919 :)
So once you update to the latest fp-ts, the warnings should disappear for you as well!
🐛 Bug report
Current Behavior
When building a production bundle with Vite, I get a bunch of warnings like this:
Expected behavior
No build warnings.
Reproducible example
vite build
.You should be able to see the warnings in the build log.
Suggested solution(s)
Not sure - probably fix the comments somehow?
Your environment
Which versions of fp-ts are affected by this issue?
Did this work in previous versions of fp-ts?
Not sure - we just transitioned away from Create React App (where we didn't get these warnings) to Vite recently.