Skip to content

Conversation

@MicahZoltu
Copy link

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.

2 participants