-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
The idea here is to make the plugin a bit more robust by the allowing the user of the plugin to transform the file along the way when copying.
The way I envision this field is that its value will be a callback with the file file path and content as its parameters. It will return the content that will be copied to the to destination.
{
from: string;
to: string;
transform: (fromPathResolved: string, fileContent: Buffer) => string | Buffer;
}Metadata
Metadata
Assignees
Labels
No labels