-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
Describe the bug
JSON.parse('{"bug": " \\"\\\\uD83D\\\\uDC49\\""}')after swc minified, throw runtime error as
Uncaught SyntaxError: Unexpected token '�', "{"bug": " \"\�\�\""}" is not valid JSON
Input code
JSON.parse('{"bug": " \\"\\\\uD83D\\\\uDC49\\""}')Config
Link to the code that reproduces this issue
SWC Info output
No response
Expected behavior
minfied code should executable·
Actual behavior
Uncaught SyntaxError: Unexpected token '�', "{"bug": " \"\�\�\""}" is not valid JSONVersion
1.13.5
Additional context
No response