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

fix: module.exports being overwritten #1

Merged
merged 4 commits into from
Sep 11, 2024
Merged

Conversation

skypesky
Copy link
Collaborator

@skypesky skypesky commented Sep 11, 2024

  • 修复了: module.exports 被覆盖(这会导致 ncc bundle 之后,它自己的 module.exports 被 xbytes 的语句覆盖了,进而导致 require 迁移脚本的时候无法正确加载)

  • 可以发现启动成功了,迁移脚本也生效了

image image image

@skypesky skypesky changed the title Fix module export fix: module.exports being overwritten Sep 11, 2024
@skypesky skypesky requested a review from wangshijun September 11, 2024 08:48
@skypesky skypesky merged commit e4e01b4 into master Sep 11, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants