The Vite outDir setting is confusingly ignored, which is not documented in the plugin documentation. This corrects that, while still preferring the more specific environment settings.