-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfiguration.js
More file actions
23 lines (23 loc) · 712 Bytes
/
Configuration.js
File metadata and controls
23 lines (23 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/**
* @module Option
*
*/
export default (await import("./Target/Function/Merge.js")).default((await import("@playform/pipe/Target/Variable/Option.js")).default, {
Action: {
Wrote: async (On) => {
try {
return (await import("./Target/Function/Output.js")).default(On.Buffer.toString());
}
catch (_Error) {
console.log(_Error);
return On.Buffer;
}
},
Failed: async ({ Input }, _Error) => {
console.log(_Error);
return `Error: Cannot process file ${Input}`;
},
},
Path: new Map([["./Example/Input", "./Example/Output"]]),
File: "**/*.ts",
});