Skip to content

Conversation

@robmeijerink
Copy link
Contributor

The current Sage theme comes with Bud by default now, instead of Laravel Mix. Bud uses bundle names to enqueue assets and not paths like before. I made the adjustments so that we can now use the Bud bundles as a value of EnqueueStyles and EnqueueScripts. It would look like this:

EnqueueStyles: nameofbundle
EnqueueScripts: nameofanotherbundle

If the bundle is not found, it will still try to enqueue a path to file in public like before.

I made sure not to break backwards compatibility, so Sage <10 users and Laravel Mix users on older versions will not get in trouble with this update.

@Drifterdnl
Copy link

@MWDelaney, could you please accept this pull request? I have tested this and I am using it in my project as a composer patch but would like to remove the patch as I can not use the patch package on my production environment.

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