loading...

re: How-to Build Your Own React Boilerplate with webpack 4 & Babel 7 VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Thanks for the setup. Had to make a slight adjustment for current Webpack to the config/common: exclude: [path.resolve(__dirname, 'node_modules')]...
 

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

exclude: [/node_modules/],

is a simple fix which works.

code of conduct - report abuse