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
feat(serve-static): use join to correct path resolution (#4291)
* feat(serve-static): use `join` to correct path resolution
* add windows tests
* implement `defaultJoin`
* add retrun type
* bun test support win
* remove warning add doc
* skip test
* remove warning
* fix the styles
* make `defaultJoin` behave like `path.posix.join`
* refactored and make it supports only Windows
* use `join` from 'node:path' for Deno
* simplify the `defaultJoin`
Co-authored-by: Taku Amano <[email protected]>
---------
Co-authored-by: Taku Amano <[email protected]>
* `join` option according to the runtime. Example `import { join } from 'node:path`. If not specified, it will fall back to the default join function.`
40
+
*/
41
+
join?: (...paths: string[])=>string
42
+
/**
43
+
* @deprecated Currently, `pathResolve` is no longer used.
0 commit comments