DEV Community 👩‍💻👨‍💻

Discussion on: How-to Build Your Own React Boilerplate with webpack 4 & Babel 7

Collapse
 
elgoorf profile image
Hussein Duvigneau

It turns out now with latest webpack you have to provide regex instead of strings:

exclude: [/node_modules/],

is a simple fix which works.