Congrats to this approach. It is very useful.
Georgi Stoilov
1

Thank you Georgi.

As for the issue you mentioned, I did a fresh run through with the latest create-react-app (1.3.1) and react-scripts (1.0.1), and didn’t encounter the error. Are you using a fairly recent version of react-scripts? They have sometimes changed the loader config, perhaps an older version had some difference. Also, make sure you changed the package.json in the custom module, and not the react app itself. If you still have an issue, feel free to create a repository with a fresh run that demonstrates it and I’d be happy to take a look.