[Non-AST Based] Failed to capture the correct content if there is no "{" and "}" wrapped outside the .jsx
obfuscation marker.
#41
Labels
bug
Something isn't working
Note
This only affects the non-AST based obfuscation (i.e.
enableJsAst: false
) withenableMarkers: false
Type
Checklist
Environment
Describe the bug
Failed to capture the correct content if there is no "{" and "}" wrapped outside the
.jsx
obfuscation marker.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Obfuscate all classNames.
Screenshots
![image](https://private-user-images.githubusercontent.com/46896789/333636430-bafc584d-1f7d-4882-aba9-db9d0157332a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI5MTAzMzQsIm5iZiI6MTcyMjkxMDAzNCwicGF0aCI6Ii80Njg5Njc4OS8zMzM2MzY0MzAtYmFmYzU4NGQtMWY3ZC00ODgyLWFiYTktZGI5ZDAxNTczMzJhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODA2VDAyMDcxNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA2MDI0MGE3MTY1MzY1NTNhOWQ4MDU0Nzc2ZmU5YzZhNzk3M2UxOGM0ZjQxNzQ1MmY1MmZmNjQxMTgwNjAxZWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.mupyqJRG1fnwDjpdHUAwOmBQBbXoCbRBvKrL1mMLUKc)
Code
Config
Solution
enableJsAst: true
in the config.The text was updated successfully, but these errors were encountered: