-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
SyntaxError Unexpected token error in react lib build mode #12769
Labels
duplicate
This issue or pull request already exists
Comments
chhpt
changed the title
SyntaxError Unexpected token error in lib model
SyntaxError Unexpected token error in react lib build mode
Apr 6, 2023
The reproduction returns "Whoops, page not found.". |
Hello @chhpt. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with |
@sapphi-red It seems that codesandbox provide a temporary link. I have updated the link, if it's still not found, you can try import the github repo in the codesandbox
|
Duplicate of #10848 |
sapphi-red
added
duplicate
This issue or pull request already exists
and removed
needs reproduction
labels
Apr 10, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
When i try to build a react component lib with the lib mode, i accross a SyntaxError. The dev mode is all right.
Reproduction
CodeSandbox
Steps to reproduce
pnpm run build:lib
System Info
Used Package Manager
pnpm
Logs
Click to expand!
Validations
The text was updated successfully, but these errors were encountered: