Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combine all manifest.json asset names #172

Merged
merged 1 commit into from
Feb 14, 2022

Conversation

tonysm
Copy link
Contributor

@tonysm tonysm commented Feb 13, 2022

Changed

  • Combines all *manifest.json asset names as a single definition.

Relevant PRs: #68 (comment) #70

I was under the impression that Vapor would include all non-asset files in the artifact that is uploaded to the lambdas. Looks like they are all removed, unless specified here. For the Tailwind CSS Laravel and Importmap Laravel to work well with Vapor, I had to rename their manifests to start with a dot, so public/.tailwindcss-manifest.json and public/.importmap-manifest.json, since dotfiles are kept by default (although users might disable it in the Vapor manifest).

I think adding anything that ends with manifest.json would solve all existing cases (Mix and Livewire), as well as the new cases (Tailwind CSS Laravel and Importmap Laravel).

Unless you folks know a better place for me to generate these manifest files. In the case of Tailwind CSS Laravel and Importmap Laravel, these files are only used internally by the package, not something that needs to be served from the browser, for instance. I'm placing them in the public folder because that seems to be the norm, anything inside the storage folder also seems to be removed (right?).

@taylorotwell taylorotwell merged commit 0d3f0a0 into laravel:master Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants