## Current Behavior The `nxCopyAssetsPlugin` from `@nx/vite` does not output the asset files to the correct location. It prepends the `rootDir` even when the `outDir` in the `vite.config` resolves to contain the `rootDir`. ## Expected Behavior Only prepend the `rootDir` when it does not already exist ## Related Issue(s) Fixes #28786
{{links}}
Nx: Smart Monorepos · Fast CI
Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution.
This package is a Vite plugin for Nx.
{{content}}