Closed wellDan28 closed 2 years ago
A minimal repo/codesandbox to reproduce the bug will be helpful to find out the core issue. The error code looks like your production build is failing to include dependencies. I'm afraid that you will likely face the similar issue in the future for other packages if this is not a lib bug indeed.
yeah, you're totally right, I'll should have add an example, I'll try to find time to do it, don't have an eta.
@wellDan28 Hi wellDan, I also encountered the problem you described, how can I avoid this error in my project until the problem is solved?
@dreammaker7 I assume the problem might be the dependency package is failed to import because of some specific bundling tools like Vite? Since the package is relatively simple, as a simple solution, I can just remove that package, and copy/paste the code from that lib into a single file, and then give the original author full credit. Then you can test it out to see if it works.
The bug should be resolved by v0.2.3
details:
error raise on console when clicking on a RangeDatepicker
build:
deps:
error on console:
possible solution, my coworker @hexelon solve it in this fork (here is the specific commit)
I can open a pr if needed, please let me know 🙏