lxieyang / chrome-extension-boilerplate-react

A Chrome Extensions boilerplate using React 18 and Webpack 5.
MIT License
3.42k stars 1.07k forks source link

Obfuscation of production and distribution code #173

Open svyatoslavratov opened 1 year ago

svyatoslavratov commented 1 year ago

What do you think about the protection of distributed code?

Can we add webpack plugins to solve this problem?

mattbrannon commented 1 year ago

Extensions with obfuscated code are not allowed on the web store

svyatoslavratov commented 1 year ago

@mattbrannon okey. But the extension can be distributed without the store

mattbrannon commented 1 year ago

Personally, I wouldn't trust an extension with obfuscated code. Why not just minify it?