RollupError: You have declared using "external" babelHelpers, but transforming index.js resulted in "inline". #1540
Replies: 2 comments
-
I made some changes to solve errors above:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Finally, @babel/plugin-transform-runtime solves babelHelpers referencing issues. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Expected Behavior
Solve the error about "external" babelHelpers and build successful.
Actual Behavior
[!] (plugin commonjs--resolver) RollupError: You have declared using "external" babelHelpers, but transforming C:\Documents\GitHub\OneSource-Web-CommonLib\React\index.js resulted in "inline". Please check your configuration.
Additional Information
Background: We used "rollup": "^0.64.1" before, Now to do technical upgrades, I upgrade rollup to the latest version v3, also update babels and plugins. But now meet this error. Can some one help this?
Here is the rollup.config:
Beta Was this translation helpful? Give feedback.
All reactions