We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
:
1 parent 5288b0b commit e14ce27Copy full SHA for e14ce27
1 file changed
packages/nuxi/src/utils/paths.ts
@@ -8,5 +8,5 @@ export function relativeToProcess(path: string) {
8
}
9
10
export function withNodePath(path: string) {
11
- return [path, process.env.NODE_PATH].filter((i): i is NonNullable<typeof i> => !!i)
+ return [path, ...(process.env.NODE_PATH?.split(':') || [])]
12
0 commit comments