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

[@rollup/plugin-commonjs]: Which Comes First?The Documentation Seems to Be Conflicting #1692

Open
1 of 4 tasks
zongjy99 opened this issue Mar 5, 2024 · 0 comments
Open
1 of 4 tasks

Comments

@zongjy99
Copy link

zongjy99 commented Mar 5, 2024

  • Rollup Plugin Name: @rollup/plugin-commonjs
  • Rollup Plugin Version: 25.0.7

Documentation Is:

  • Missing
  • Needed
  • Confusing
  • Not Sure?

Please Explain in Detail...

In the Rollup.js tools section, it is mentioned that Babel should precede CommonJS. However, the npm page for @rollup/plugin-babel along with the GitHub README for the babel plugin seem to suggest that CommonJS should be placed before Babel. I've noticed that both setups appear to function properly upon testing, but I'm curious if there's any notable difference between them. which documentation should be considered more accurate?

Your Proposal for Changes

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

No branches or pull requests

1 participant