Writing a plugin for the Faqtor task runner
Osman Bineev
Posted on June 11, 2019
Writing a plugin for Faqtor is a simple and straightforward process. Schematically, it looks like this (TypeScript code):
import * as faqtor from “faqtor”;
export const createFactor = (....arguments): faqtor.IFactor => {
const run = async (): Promise<Error> => {
....do some work here
}
return factor.func(run);
}
Let us examine this with the example of the faqtor-of-rollup plugin, intended, as the name implies, to use Rollup bundler in our projects. Continue reading
💖 💪 🙅 🚩
Osman Bineev
Posted on June 11, 2019
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.