console.log(require.ensure) to my code and it resulted in thousands of error lines from webpack. Had to increase my tmux scrollback to 40K lines to see what happened.
[...] WARNING in ./src/routes.js Critical dependencies: 158:18-25 require function is used in a way in which dependencies cannot be statically extracted @ ./src/routes.js 158:18-25 WARNING in ./src/containers/Admin/TODO.md Module parse failed: /Users/olalonde/code/project/src/containers/Admin/TODO.md Unexpected token (1:13) You may need an appropriate loader to handle this file type. [...]
Not sure if it’s really a bug but would have been nice if that message had been isolated from all the subsequent thousands of error lines that are really irrelevant.