hoppscotch / hoppscotch-extension

🧩 Browser extensions to provide more capabilities to https://hoppscotch.io
https://hoppscotch.io
MIT License
255 stars 100 forks source link

refactor: move to using bundle-text imports and reduce minification #297

Closed AndrewBastin closed 6 months ago

AndrewBastin commented 6 months ago

This PR deals with refactoring code to allow for the least amount of obfuscation to take place while bundling.

Chrome Web Store has been rejecting the last 2 releases of the extension requiring us to reduce obfuscation, the content they flagged was how contentScript.js has encoded in the final bundle, as a Base64-ed string calculated as an argument to Buffer.from.

What's changed