humanmade / hm-base

Standard project layout for Human Made Projects.
81 stars 18 forks source link

Add Standardized Webpack Configuration #86

Open mikeselander opened 6 years ago

mikeselander commented 6 years ago

As discussed in #61, WebPack is the best-in-class tool of choice and is particularly useful for React, ES6, and Gutenberg block building. It would therefore be useful to have a default, abstracted configuration for WebPack builds that a developer can pluck and start in on for their next site.

Question: Should we also maybe include the simplified version of the React WP Scripts that K. Adam has ripped out? We could also bundle this in another repo on its own.

fklein-lu commented 6 years ago

I do think that Webpack building and the React WP Scripts go hand in hand. I'm not convinced though that React WP Scripts in its current state is adequate.

IMO we should keep the standardised Gutenberg config we discussed on the Dev P2 in mind when adding this in.