@defer/redwood
Version:
Setup Defer in RedwoodJS
14 lines (13 loc) • 380 B
JavaScript
export const description = "Set up Defer plugin";
export const builder = (yargs) => {
return yargs.option("force", {
alias: "f",
default: false,
description: "Overwrite existing files",
type: "boolean",
});
};
export const handler = async (options) => {
const { handler } = await import("./handler.js");
return handler(options);
};