The module that handles this is strapi/packup that sets configFile as false when it generates the Vite config.
It says in the documentation that you should be able to use a packup.config.ts file to export plugins for Vite to use, but I don’t think it checks up as far as the application folder.