Skip to content

Escape esbuild plugin's symbol replacement.#2807

Merged
texodus merged 1 commit intoperspective-dev:masterfrom
timbess:bugfix/fix-esbuild-symbol-escaping
Oct 28, 2024
Merged

Escape esbuild plugin's symbol replacement.#2807
texodus merged 1 commit intoperspective-dev:masterfrom
timbess:bugfix/fix-esbuild-symbol-escaping

Conversation

@timbess
Copy link
Contributor

@timbess timbess commented Oct 28, 2024

Minification sometimes adds $ to variable names causing it to be interpreted as regex rather than literally.

Signed-off-by: Timothy Bess <tim@prospective.dev>
@timbess timbess force-pushed the bugfix/fix-esbuild-symbol-escaping branch from 6d2e8af to 59aa070 Compare October 28, 2024 15:22
@timbess timbess marked this pull request as ready for review October 28, 2024 16:46
Copy link
Member

@texodus texodus left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! Looks good!

@texodus texodus merged commit e6e6eae into perspective-dev:master Oct 28, 2024
@texodus texodus added the bug Concrete, reproducible bugs label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Concrete, reproducible bugs

Development

Successfully merging this pull request may close these issues.

2 participants