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

Bumps esinstall's rollup version to fix lit-html error #1579

Merged
merged 1 commit into from
Nov 12, 2020

Conversation

N8-B
Copy link
Contributor

@N8-B N8-B commented Nov 11, 2020

Changes

Fixes an error in esinstall with the lit-html library caused by the commonjs plugin + rollup version.

In rollup v2.23 - v2.28.2 the transform hook would return undefined instead on the transformed library code.

This error was fixed in the following pull: rollup/rollup@1ad8289#diff-58036290d63f45dcebfa80ddeeb5877187a613f7cdb28e9a5482324f632c14ad

Testing

All tests passing in local. No new tests added.

Docs

No new docs were added.

Fixes an error in esinstall with the lit-html library caused by the commonjs plugin + rollup version. In rollup v2.23 - v2.28.2 the transform hook would return undefined instead on the transformed library code. This error was fixed in the following pull: rollup/rollup@1ad8289#diff-58036290d63f45dcebfa80ddeeb5877187a613f7cdb28e9a5482324f632c14ad
@vercel
Copy link

vercel bot commented Nov 11, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/pikapkg/snowpack/34nkycd2r
✅ Preview: https://snowpack-git-master.pikapkg.vercel.app

@FredKSchott
Copy link
Owner

LGTM, but hopefully users are already getting this fix via the existing semver range

@FredKSchott FredKSchott merged commit ba5ed56 into FredKSchott:master Nov 12, 2020
@N8-B
Copy link
Contributor Author

N8-B commented Nov 12, 2020

Yeah, I hope so too. The problem can crop up if a user has a different version of rollup as a project dep, which is what was happening in our case.

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.

2 participants