3 ms·
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 tes
by davedx 10y ago
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.
- kjsthree 10y agoCouldn't agree more. Also, if you want server side code to work without bundling you'll want to be careful there too. I have css requires restricted to the client entry file to keep other modules testable/usable server side otherwise.