You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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;}
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: