Skip to content

Commit 89e35ad

Browse files
committed
fix!: avoid mixed named and default exports
BREAKING CHANGE: `import pathe from 'pathe` should be changes to `import * as pathe from 'pathe'`
1 parent 61dfd2b commit 89e35ad

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Diff for: src/index.ts

-9
Original file line numberDiff line numberDiff line change
@@ -1,10 +1 @@
1-
// Reference https://nodejs.org/api/path.html
2-
import type path from 'path'
3-
4-
import * as _path from './path'
51
export * from './path'
6-
7-
// Default export
8-
export default {
9-
..._path
10-
} as Omit<typeof path, 'win32' | 'posix'>

0 commit comments

Comments
 (0)