bridgetownrb / bridgetown

A next-generation progressive site generator & fullstack framework, powered by Ruby
https://www.bridgetownrb.com
MIT License
1.16k stars 112 forks source link

feat: add priorities to Builders #539

Closed jaredcwhite closed 2 years ago

jaredcwhite commented 2 years ago

Currently builder plugins' build methods are run in the order the plugins are registered. Generally this is (order of gem requires) + ("Zeitwerk" order of local files…likely alphabetical).

We should pull in the generator-style priority system…probably by altering the Builder class hierarchy so it ultimately inherits from Bridgetown::Plugin.

jaredcwhite commented 2 years ago

Resolved in 8b0a13fab7b546371c08e260c36dc9c53e3304cd

jaredcwhite commented 2 years ago

Still an issue! :( See: https://github.com/bridgetownrb/bridgetown-prismic/issues/3#issuecomment-1144418222