-
-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
Would you mind switch to use deno_std's path module? API is compatible with Node.js, simply use deno bundle to output es module, make bundlers do tree shaking better
// mod.ts
import { win32, posix } from 'https://deno.land/std@0.163.0/path/mod.ts'
export { win32, posix }
export const {
basename,
delimiter,
dirname,
extname,
format,
fromFileUrl,
isAbsolute,
join,
normalize,
parse,
relative,
resolve,
sep,
toFileUrl,
toNamespacedPath
} = posixdeno bundle mod.ts index.jsMetadata
Metadata
Assignees
Labels
No labels