DEV Community

Osman Bineev
Osman Bineev

Posted on

1 1

Writing a plugin for the Faqtor task runner

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

Top comments (0)

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay