Skip to content
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

BUG Deskulpt will crash when widget code contains duplicate export default #16

Open
Xinyu-Li-123 opened this issue Apr 8, 2024 · 0 comments
Labels
bug Something isn't working upstream Related to some upstream issues

Comments

@Xinyu-Li-123
Copy link
Contributor

Xinyu-Li-123 commented Apr 8, 2024

If a widget source code contain duplicate export default statements, Deskulpt will crash. This is not a bug of Deskulpt, but a bug of SWC, as is discussed in #11. swc-project/swc#8824 related to this bug has been submitted to the SWC repo.

@Xinyu-Li-123 Xinyu-Li-123 added the bug Something isn't working label Apr 8, 2024
@Charlie-XIAO Charlie-XIAO changed the title BUG Deskulpt will crash when widget code contains duplicate export default, due to SWC's bug BUG Deskulpt will crash when widget code contains duplicate export default Apr 8, 2024
@Charlie-XIAO Charlie-XIAO added the upstream Related to some upstream issues label Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream Related to some upstream issues
Projects
None yet
Development

No branches or pull requests

2 participants