- Merge request !29Create a new manifest setting for when the manifest.json is in a different... → (Open) created by Unnamed author
We use a flat directory structure for our dist folder where everything is just put into dist with no subfolders, both the assets and the manifest.
This was broken when we upgraded because the backwards compatibility for the manifest setting extracts the wrong path and looks for /var/www/html/docroot/themes/custom/numiko/.vite/manifest.json instead of /var/www/html/docroot/themes/custom/numiko/dist/manifest.json
Use vite with these build options:
build: {
manifest: 'manifest.json',
outDir: '../dist',
assetsDir: './', // Output assets directly inside 'dist/' no subfolder
}
With the default Drupal vite yaml settings.
Allow the manifest path relative to dist to be configured with a new optional parameters that by default would be .vite/manifest.json.
Active
1.5
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.