Skip to content

Comments

Added support for enabling mix manifest#1167

Merged
LukeTowers merged 1 commit intodevelopfrom
wip/mix-manifest-override
Jul 19, 2024
Merged

Added support for enabling mix manifest#1167
LukeTowers merged 1 commit intodevelopfrom
wip/mix-manifest-override

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
@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