how to use cdn for hilla/vaadin static resources ?

<script type="module" crossorigin src="./VAADIN/build/indexhtml.2a23aa48.js"></script> <link rel="stylesheet" href="./VAADIN/build/index.fe69b544.css">

Is there any config to replace the default src url? I want to use cdn to serve the static files.

You will need to configure vite appropriately, as it’s the one generating those tags. Here’s one article I found, although I can’t vouch for it as I haven’t tried it myself