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

feat: non nullable this.environment #17302

Merged
merged 2 commits into from
May 24, 2024

Conversation

patak-dev
Copy link
Member

Description

We decided to try to make this.environment non-nullable, as we can still get a clear error message if a vite 6+ only plugin is used in a context it was not designed for.

For now, we are removing defineVitePlugin too. We could have a defineRollupCompatiblePlugin in the future but we don't think this is needed right now.

cc @bluwy

Copy link

stackblitz bot commented May 24, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@patak-dev patak-dev merged commit bdd1b91 into v6/environment-api May 24, 2024
12 of 13 checks passed
@patak-dev patak-dev deleted the feat/non-nullable-this-environment branch May 24, 2024 15:18
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.

1 participant