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

fix error when import meta in webworker (#1408) #1896

Merged
merged 1 commit into from
Dec 11, 2020

Conversation

PeterPanZH
Copy link
Contributor

Changes

This PR fix #1408 .
This should be a temporarily fix for now.
The "just load ESM in the worker" story should fix this thoroughly.

Testing

There are no test cases for hmr-client.js.

Docs

bug fix only

@vercel
Copy link

vercel bot commented Dec 10, 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/6n0tagvtu
✅ Preview: https://snowpack-git-hmr-webworker.pikapkg.vercel.app

@justgook
Copy link

Great - just part what i was missing

Copy link
Owner

@FredKSchott FredKSchott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@FredKSchott FredKSchott merged commit b944753 into FredKSchott:main Dec 11, 2020
@PeterPanZH PeterPanZH deleted the hmr-webworker branch December 12, 2020 15:44
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.

3 participants