diff --git a/src/Vite.php b/src/Vite.php index a594d7b..aaa5eff 100644 --- a/src/Vite.php +++ b/src/Vite.php @@ -634,7 +634,7 @@ protected static function manifest($buildDirectory) */ protected static function manifestPath($buildDirectory) { - return rtrim(static::$paths['build'], '/') . '/' . ltrim($buildDirectory, '/') . '/' . ltrim(static::$manifestFilename, '/'); + return trim($buildDirectory, '/') . '/' . ltrim(static::$manifestFilename, '/'); } /**