ribbitjs / ribbit

Standalone CLI for easy static file generating and route management.
MIT License
33 stars 1 forks source link

Plugin structure #53

Closed mrbut closed 5 years ago

mrbut commented 5 years ago

What?

Implements file re-structure for plugin architecture module (based on #50)

Why?

To create more predictable injection points for plugins

How?

By modularizing the phases of the build process it make it easier to pinpoint the different points of in the build process a user may want to plug additional functionality into. In addition, creating wrapper functions around those functions which take in plugins (function that take in a single input and output a single value) can be pipped into one another to create the data required for each phase of Ribbit.