No no no, the script on the link was BEFORE llms. That was how it used to be done before. That was the recommended facebook way.
The LLM generated vite config is 20 lines