-
Notifications
You must be signed in to change notification settings - Fork 933
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
Preact build doesn't work due to incorrect Preact imports #1430
Comments
I believe this is related to #1198. |
Hi! Can you create a PR with a fix? I'd be happy to review and merge it. Thanks! |
@silviuaavram I'd love to, but like this commenter, I don't understand the build process enough to know how this is being generated. Can you give any pointers? |
The build uses rollup. For the preact side of things, I don't have any more information, unfortunately. The way to go, probably, would be to make a fix, then npm run build, use the build result in the preact project you have locally (or link downshift locally using package json), and check if it works. |
I started working on this, but this needs a fix in kcd-scripts |
raised a PR in kcd-scripts, @silviuaavram @kentcdodds pls review and let me know |
downshift
version: 7.0.0node
version: 16.13.2npm
(oryarn
) version: 8.19.2Relevant code or config
What you did:
Imported the Preact build of Downshift.
What happened:
Suggested solution:
I believe the import at the top of
preact/dist/downshift.esm.js
should be:Instead of:
The text was updated successfully, but these errors were encountered: