-
Notifications
You must be signed in to change notification settings - Fork 392
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: throw error if Rollup version is too old #2506
Conversation
I tested this manually by downgrading Rollup, and it throws an error like:
|
bf82b64
to
df685c9
Compare
}, | ||
"peerDependencies": { | ||
"rollup": "^1.2.0||^2.0.0" | ||
"rollup": "^2.29.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is v2.29.0
the earliest version of rollup that we can support in the 2.x
range?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I think so. The meta
context was added with this PR which landed in the 2.29.0
release.
}, | ||
"peerDependencies": { | ||
"rollup": "^1.2.0||^2.0.0" | ||
"rollup": "^2.29.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I think so. The meta
context was added with this PR which landed in the 2.29.0
release.
Details
Fixes #2505
This PR updates the min semver in the
peerDependencies
Rollup version for@lwc/rollup-plugin
, and improves the error message if the Rollup version is too old.Does this PR introduce breaking changes?
No, it does not introduce breaking changes.