Skip to content

Conversation

pcfreak30
Copy link

The regex to clean up semi-colons does not take into account that it may be after a function call.

A small sample from an already minified bundle is break"!==n(););},Ur). Adding a negative lookbehind fixes this.

@matthiasmullie matthiasmullie force-pushed the master branch 5 times, most recently from 85ee174 to 227f190 Compare December 27, 2020 21:43
@obedparla
Copy link

@pcfreak30 sup man 😄

@matthiasmullie matthiasmullie force-pushed the master branch 3 times, most recently from 949e01d to 51d1aa4 Compare November 18, 2022 12:22
@matthiasmullie matthiasmullie force-pushed the master branch 2 times, most recently from 9ddadb8 to 4c4ecee Compare March 6, 2025 09:42
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