Be careful jumping into webpack and getting it to load everything (JSON, style sources, HTML partials (!)) with require/import. It can wreak havoc with your testing.
I have css requires restricted to the client entry file to keep other modules testable/usable server side otherwise.