unjs / pathe

🛣️ Drop-in replacement of the Node.js's path module module that ensures paths are normalized

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

module 'pathe' does not provide an export named 'default'

sheremet-va opened this issue · comments

Environment

Any

Reproduction

https://stackblitz.com/edit/node-wh8ted?file=index.mjs

Describe the bug

It is possible to use default export with node:path module, so I assume since this is a "drop-in" replacement, we should be able to import through default export.

Additional context

No response

Logs

No response

fixed in 1.1.0. i hope it works in your setup now :)