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

move one more warning behind verbose flag (this keyword is equivalent… #1359

Merged
merged 1 commit into from
Oct 19, 2020
Merged

move one more warning behind verbose flag (this keyword is equivalent… #1359

merged 1 commit into from
Oct 19, 2020

Conversation

sebastienbarre
Copy link
Contributor

Changes

Per discussion in #718 with @FredKSchott, this change silences the rollup The 'this' keyword is equivalent to 'undefined' at the top level of an ES module, and has been rewritten warning, and move it behind the --verbose flag.

Testing

I ran this local fork against my repo before and after the change, and noticed the warning being silenced.
I also ran yarn test and yarn test:dev

Docs

The 10-reference.md file now mentions that this warning is silenced by default.

@vercel
Copy link

vercel bot commented Oct 19, 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/5wotqumt3
✅ Preview: https://snowpack-git-thisisundefined.pikapkg.vercel.app

@FredKSchott
Copy link
Owner

LGTM! Will merge once tests pass

@FredKSchott FredKSchott merged commit adfbde6 into FredKSchott:master Oct 19, 2020
@FredKSchott
Copy link
Owner

Thank you!

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