Configure Vite
Last modified by Manuel Leduc on 2026/03/23 13:57
Steps
- Add a vite.config.ts file aside the package.json file of the package
- Import a configuration help from viteconfig (e.g.,
import { generateConfigVue } from "@xwiki/platform-tool-viteconfig";) - Use and export the configuration
export default generateConfigVue(import.meta.url);