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

Added support for enabling mix manifest #1167

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

jaxwilko
Copy link
Member

This PR adds support for enabling the Mix manifest, see Laravel Mix Asset Versioning.

The change here uses the existing options method provided by Mix to override our default behaviour.

// Enable default manifest
mix.options({
    manifest: true,
});

// Disable manifiest (default behaviour)
mix.options({
    manifest: false,
});

// Set a custom path for the manifest
mix.options({
    manifest: 'assets/manifest.json',
});

@jaxwilko jaxwilko requested a review from bennothommo July 19, 2024 13:50
@LukeTowers LukeTowers added Status: Completed maintenance PRs that fix bugs, are translation changes or make only minor changes labels Jul 19, 2024
@LukeTowers LukeTowers added this to the 1.2.7 milestone Jul 19, 2024
@LukeTowers LukeTowers merged commit 7b181c2 into develop Jul 19, 2024
12 checks passed
@LukeTowers LukeTowers deleted the wip/mix-manifest-override branch July 19, 2024 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance PRs that fix bugs, are translation changes or make only minor changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants