Is there a way to not load JS file (analytics for instance) in "dev" server

Hello there!
I’m working on my blog offline right now, and the theme takes 30 sec to load - it waits for the req timeout. So, i’m wondering if there is an easy way to tell Hugo to not try to load certain files like Gfont, analytics when i launch my server locally.
Thx

This has been discussed before and the solution is over here:

2 Likes