Closed gutenye closed 9 months ago
@dedoussis, would you care to review when you have time?
Hi @gutenye, thanks for putting together this fix!
Have pushed a large change in the extension which affects your PR. Would you be happy with fixing this branch to be compatible with the changes I introduced? If not, I can pick this up and rebase the implementation to what's currently in master.
Rebased, I'm not able to test it because npm start
failed with CSS errors
@dedoussis I got this error on the main branch when run npm run start
, how do I fix it?
ERROR in ./src/pages/Popup/index.css
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/postcss-loader/dist/cjs.js):
Error: PostCSS received undefined instead of CSS string
@gutenye I think the issue is related to the node version you're using. Try using node 18.
@gutenye given the complexity of the change, I took a stab at implementing support for CN: https://github.com/dedoussis/icloud-hide-my-email-browser-extension/pull/52
However, I don't have a CN iCloud account to test this. Would you be able to test my branch using your account?
Closes #34
Chinese iCloud uses a different domain (icloud.com.cn) instead of (icloud.com), this PR aims to support it.
Test Plan