UNPKG
@playform/compress
Version:
latest (0.2.3)
0.2.3
0.2.2
0.2.1
0.2.0
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.13
0.0.12
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Compress 🗜️
github.com/PlayForm/Compress
PlayForm/Compress
@playform/compress
/
Target
/
Function
/
Directory.js
2 lines
(1 loc)
•
239 B
JavaScript
View Raw
1
2
var
o
=
async
(
...[r]
)=>{
let
e=(
await
import
(
"node:path"
)).
normalize
((
await
import
(
"node:path"
)).
parse
(r).
dir
).
replace
(
/\\/g
,
"/"
).
replace
((
await
import
(
"./Integration.js"
)).
System
,
""
);
return
e.
endsWith
(
"/"
)||(e+=
"/"
),e};
export
{o
as
default
};