In this PR I add a custom vite plugin that inserts the umami script tag into the html output file if the UMAMI_WEBSITE_ID env variable is set.
This removes the error that the builder has when the variable is not set. It was also a nice experience to see how it is possible to manipulate the outputted HTML code in vite !
In this PR I add a custom vite plugin that inserts the umami script tag into the html output file if the
UMAMI_WEBSITE_ID
env variable is set.This removes the error that the builder has when the variable is not set. It was also a nice experience to see how it is possible to manipulate the outputted HTML code in vite !