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

After Babel starts runtime and rolls up preserveModules=true, it will result in an extra layer of output structure #5515

Open
parlay96 opened this issue May 14, 2024 · 5 comments

Comments

@parlay96
Copy link

Rollup Version

v4.9.1

Operating System (or Browser)

win

Node Version (if applicable)

No response

Link To Reproduction

Sorry, no

Expected Behaviour

image
After Babel starts runtime and rolls up preserveModules=true, it will result in an extra layer of output structure?,
Rollup preserveModules=true, packaging React will cause a node.modules package to appear, and an error will be reported after packaging

Actual Behaviour

image
Error reported after packaging

@parlay96
Copy link
Author

Here is Vue:Using Rollup
image
This is the same way I packaged Vue for my previous project, so there is no such issue

@parlay96
Copy link
Author

What problem is causing this?

@parlay96
Copy link
Author

my question and #3684 Similar

@parlay96
Copy link
Author

What problem is causing this?

@parlay96
Copy link
Author

#3684 (comment) Thank you, this has indeed solved my problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants