webpack error because of import type when deploying to vercel #6841
Unanswered
JohannesKlauss
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
no idea 🤷♂️ You have a swizzled component here: https://github.com/JohannesKlauss/react-hotkeys-hook/blob/master/documentation/src/theme/ReactLiveScope/index.js please try to remove it, if it works then it's likely a problem with your own lib |
Beta Was this translation helpful? Give feedback.
2 replies
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.
-
I am trying to deploy my docs for the react-hotkeys-hook package with version 2.0.0-beta.17 on vercel.
But there is a weird build error going on. It seems like the
import typestatements aren't stripped from the js files. I am using the docusaurus 2 vercel preset to deploy.This is the branch where it is happening: JohannesKlauss/react-hotkeys-hook#684
I never had issues before, but I also skipped beta versions 15 and 16.
Has anyone any idea on how to fix this?
Beta Was this translation helpful? Give feedback.
All reactions