how to change manifest.json location ?
hi
i have changed my vite config to this
publicDirectory: 'public_html',
buildDirectory: '/backendAssets',
and now the manifest.json is build where i want (\public_html\backendAssets\manifest.json) but i get a error message Vite manifest not found at: \public_html\build/manifest.json
how can i set the new path in filament ?
thanks in advance for any response
3 Replies
npm run build?
This is vite issue in your setup, not filament
Solution
You can adjust it via
Vite::useBuildDirectory()
@wyChoong like i said the build process is ok and the assets are built at the directory i want.
@Dennis Koch sorry but i'm new to vite where i should add the Vite::useBuildDirectory ?
thank you both for responding π
i used
and now it works π