File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed
Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export default {
2020 onStart ( async ( ) => {
2121 try {
2222 outdir
23- ? await ( await import ( "fs/promises" ) ) . rm ( outdir , {
23+ ? await ( await import ( "node: fs/promises" ) ) . rm ( outdir , {
2424 recursive : true ,
2525 } )
2626 : { } ;
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export default {
2323 try {
2424 outdir
2525 ? await (
26- await import ( "fs/promises" )
26+ await import ( "node: fs/promises" )
2727 ) . rm ( outdir , {
2828 recursive : true ,
2929 } )
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ import type Interface from "../Interface/Directory.js";
55 *
66 */
77export default ( async ( ...[ Path ] ) => {
8- let Directory = ( await import ( "path" ) )
9- . normalize ( ( await import ( "path" ) ) . parse ( Path ) . dir )
8+ let Directory = ( await import ( "node: path" ) )
9+ . normalize ( ( await import ( "node: path" ) ) . parse ( Path ) . dir )
1010 . replace ( / \\ / g, "/" )
1111 . replace ( ( await import ( "@Function/Integration.js" ) ) . System , "" ) ;
1212
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ export default ((...[_Option = {}]) => {
6464 outDir : { pathname } ,
6565 } ,
6666 } ) => {
67- System = ( await import ( "path" ) )
67+ System = ( await import ( "node: path" ) )
6868 . parse ( pathname )
6969 . dir . replace ( / \\ / g, "/" ) ;
7070
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export default (await import("@Function/Merge.js")).default(
3232 Failed : async ( { Input } ) =>
3333 `${ red ( "Error:" ) } Cannot compress file ${ gray (
3434 await Directory ( Input ) ,
35- ) } ${ red ( ( await import ( "path" ) ) . parse ( Input ) . base ) } `,
35+ ) } ${ red ( ( await import ( "node: path" ) ) . parse ( Input ) . base ) } `,
3636 Passed : async ( { Before, Buffer } ) =>
3737 Before > _Buffer . byteLength ( Buffer . toString ( ) ) ,
3838 Accomplished : async ( { Input, Before, After } ) => {
@@ -42,7 +42,7 @@ export default (await import("@Function/Merge.js")).default(
4242 `(-${ ( await import ( "@playform/pipe/Target/Function/Bytes.js" ) ) . default ( Save ) } )` ,
4343 ) } ${ ( await import ( "kleur/colors" ) ) . green (
4444 `${ ( ( Save / Before ) * 100 ) . toFixed ( 2 ) } %` ,
45- ) } reduction in ${ gray ( await Directory ( Input ) ) } ${ ( await import ( "kleur/colors" ) ) . cyan ( ( await import ( "path" ) ) . parse ( Input ) . base ) } `;
45+ ) } reduction in ${ gray ( await Directory ( Input ) ) } ${ ( await import ( "kleur/colors" ) ) . cyan ( ( await import ( "node: path" ) ) . parse ( Input ) . base ) } `;
4646 } ,
4747 Changed : async ( Plan ) =>
4848 Object . defineProperty ( Plan . Info , "Total" , {
You can’t perform that action at this time.
0 commit comments