Open chrisdmacrae opened 6 years ago
Let’s take a look at create React apps approach for some inspiration.
Maybe this should be another issue of discussion, but also note that they separate dev and prod webpack configs. I think this is the right approach. Duplication is easier to deal with then the insanity of maintaining one file that does both.
I went through CRA's webpack configs and honestly, a lot of it made a lot of sense.
Pulled anything that wasn't specific to React and then customized it to a static build versus a React app.
It's so nicely commented.
Are you including the config to allow for JSX syntax @chrisdmacrae ?
Right now the webpack config is only processing JS.
What if I want to:
Calling all static site power rangers @ncphillips @zivbk1 @budparr @scottgallant