This ensures that Vite treats the configuration files as ESM, allowing them to
natively import 'laravel-vite-plugin' (which is ESM-only). This resolves the
build error where esbuild was converting imports to require() calls in CJS packages,
causing the build to fail.