Open amaury1093 opened 6 years ago
So for the circular dependencies, it can be quite useful for resolving some bugs. It's actually always better to avoid having circular dependencies anyway, and this doesn't break anything, just adds some warnings.
Regarding post-css, it's actually already included in CRA. This just adds more plugins.
In #2, #3, #4 you are adding more plugins on top of the default CRA webpack config. They are nice-to-have features, but I'm not sure they're necessary.
I would suggest to stay as close as possible to CRA, i.e. not to add any additional webpack plugins unless absolutely life-changing, for the following reasons:
More concretely, in react-scripts.config.js, I would:
devPort
,openBrowser
,htmlPlugin
, some babel plugins. Necessary for dapp development.cc @jacogr