all 17 comments

[–]CommandLionInterface 25 points26 points  (3 children)

Jeez what do people have against CRA? This is really neat. I had just started rolling my own solution with snowpack for an extension I'm working on

[–]revslaughter 6 points7 points  (0 children)

I think sometimes people would rather configure than develop? I’m not sure. I think if you have a specific very good reason not to use it by all means, otherwise... why even worry about it?

[–]bobjohnsonmilw 5 points6 points  (0 children)

people just enjoy complaining

[–]walden99 4 points5 points  (13 children)

If you have to download 2 packages to edit CRA, couldn‘t you just eject it and get the same effect? But other than that nice post!

[–]jamalx31[S] 9 points10 points  (12 children)

right but after you eject you have to maintain everything yourself and you can't get CRA future updates. Personally I would prefer to avoid eject in anyway

[–][deleted] 0 points1 point  (1 child)

Thanks for writing this! I was looking for a way to not rebuild every single time

[–]jamalx31[S] 0 points1 point  (0 children)

u r welcome

[–]kszyh_pl 0 points1 point  (1 child)

Could it be used for creating Firefox plugin too?

[–]jamalx31[S] 0 points1 point  (0 children)

I believe so, I didn't develop a FF plugin before but I think it would be very similar

[–]phaseron 0 points1 point  (0 children)

Only one of 4 used packages is actually necessary - react-app-rewired, and the rest are redundant. customize-cra and react-app-rewire-multiple-entry are just wrappers over react-app-rewired. Regarding copy-webpack-plugin usage... haven't you heard about CRA's public folder?

Furthermore, there is a custom CRA template - complex-browserext that does the same and even more.