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

use this.addWatchFile when present #47

Merged
merged 1 commit into from Dec 31, 2018
Merged

use this.addWatchFile when present #47

merged 1 commit into from Dec 31, 2018

Conversation

Conduitry
Copy link
Member

To avoid deprecation warning in Rollup 1.0+

I don't know what version this.addWatchFile was added in, but it's not present in the earliest version of Rollup listed as a peer dependency of this plugin, so this change isn't assuming it's present. It falls back to the old behavior if it's not.

@Conduitry
Copy link
Member Author

Ref #46

@Rich-Harris Rich-Harris merged commit 8c26de5 into sveltejs:master Dec 31, 2018
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

Successfully merging this pull request may close these issues.

None yet

2 participants