You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An official plugin 'laravel-vite-plugin', is generating the manifest file and Vite.php facade is using the same manifest file to map and provide resources.
Now, laravel-vite-plugin provides an option to generate manifest, named as per user provided configuration. However Vite.php hasn't been updated to allow this.
Anyway, I don't have a problem sending in a PR, but I am new to Laravel and have no idea on how to write tests!
Description:
Vite.php has 'manifest.json' hardcoded in manifestPath method!
protected function manifestPath($buildDirectory)
{
return public_path($buildDirectory.'/manifest.json');
}
Steps To Reproduce:
Install laravel-vite-plugin
yarn add laravel-vite-plugin -D
Change manifest file name to 'custom-manifest.json' in vite.config.js
build: {
manifest: 'custom-manifest.json',
}
Build the application
yarn prod
The text was updated successfully, but these errors were encountered: