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

Fixes bug in grid-areas. #455

Merged
merged 1 commit into from
Feb 28, 2023
Merged

Conversation

MicahZoltu
Copy link
Contributor

I don't really understand why the build is doing name mangling of classes and grid areas, but it appears there is already some code to deal with it. Unfortunately, that code doesn't work as sometimes the name mangler is including a leading _ and sometimes it is not. Luckily, the fix is easy, just include support for an optional leading _ in the existing regexp.

I don't really understand why the build is doing name mangling of classes and grid areas, but it appears there is already some code to deal with it.
Unfortunately, that code doesn't work as *sometimes* the name mangler is including a leading `_` and sometimes it is not.
Luckily, the fix is easy, just include support for an optional leading `_` in the existing regexp.
Copy link
Member

@marvinhagemeister marvinhagemeister left a comment

Choose a reason for hiding this comment

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

Whoops good catch! Thanks for the PR 👍

@marvinhagemeister marvinhagemeister merged commit 594e28b into preactjs:main Feb 28, 2023
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