jhen0409 / react-chrome-extension-boilerplate

Boilerplate for Chrome Extension React.js project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Submission Rejected - Contains minified or obfuscated code

cihadturhan opened this issue · comments

Hello,

Today I submitted my extension to Chrome Web Store. But they respond me with the following:

Per our policies, where possible, make as much of your code visible in the
package as you can. If some of your app's logic is hidden and it appears to
be suspicious, we may remove it. During the course of a review, your item
was found to be suspicious and has one or more file(s) that contain
minified or obfuscated code which is not human readable.

Do you submit with dev or dist folder? It means anyone uses dist folder will have problems as it has obfuscated code. Please let me know if you used obfuscated code.

Thanks

Did you solved the problem?

I solved it by disabling uglfy feature on webpack dist config. After that, they accepted the extension. It’s very strange that there are plenty of extensions with minified code.
I’m on mobile so pardon for any typos.

Did your bundle size increased a lot? :)

Hey @zabka229 I just saw your comment. It definitely increases ~300kb or more depending on your package.json. But that’s not a problem as chrome extension comes bundled and doesn’t load the file from any server.

@cihadturhan : Hi, your post is from 2018. Do you have any problem with this issue since then?

I plan to create my extension, and I'm considering some boilerplates (React). Not sure if using React boilerplate causes me any trouble in the future, because I don't want to spend time building an extension and get rejected when I want to submit it to the store.

Another question: I see that this repository is not active since 2018. Are you using any newer (and better) boilerplate for chrome extension development? If yes, please suggest it to me.

Thank you.

@piavgh I had no problems since then. To be honest, I didn't add new features for a while.
See the extension: https://chrome.google.com/webstore/detail/clipboard-paste-anywhere/pbmkobomelmhlgfbfjohpblialcopjco?hl=en-US