Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Add just the necessary files to rollup watch mode #2007
Add just the necessary files to rollup watch mode #2007
Changes from all commits
760a202
c9a9be3
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
From what I can see this issue got resolved
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.
They have a nifty bot that tells you what version of rollup includes the PR 🎉 apparently this was fixed in
rollup@4.6.0
.I wonder if we have any peer dependency reference or anything that would allow us to say which versions of rollup are supported 🤔
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.
also if we are changing the "rollup support matrix" this one change could technically make this a breaking change... maybe 🤔
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.
@mansona that is a good point, I can add
rollup
as a peerDep to@embroider/addon-dev
's package.json file if you feel like that is the right approach?And it might we a major release, if we take that into account?
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.
@mansona looks like all the rollup maintained plugins include rollup as a
peerDep
Like for example here in
@rollup/babel
, so I guess this would be the way to gohttps://github.com/rollup/plugins/blob/master/packages/babel/package.json#L58
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.
so the fact that rollup does it really makes me feel like we should do the same thing. And we need to declare the minimum version of rollup that we support
if you want to go ahead and add that in this PR we can mark it as breaking and it will automatically get picked up and released correctly 👍
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.
@mansona I added the change, take a look when you can
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.
Now it will take into account
exclude
option and exclude files from watch mode as well