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(build): preload treeshaking ignore equal #17480

Merged
merged 1 commit into from
Jun 14, 2024
Merged

Conversation

bluwy
Copy link
Member

@bluwy bluwy commented Jun 14, 2024

Description

Bail out of preload treeshaking if the variables contain =, which may contain fallback values that trips up the regex matching and generate invalid code.

Copy link

stackblitz bot commented Jun 14, 2024

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

@patak-dev patak-dev enabled auto-merge (squash) June 14, 2024 09:10
@patak-dev patak-dev merged commit 6ced135 into main Jun 14, 2024
11 checks passed
@patak-dev patak-dev deleted the preload-ignore-equal branch June 14, 2024 09:11
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