Skip to content

Commit b34aca6

Browse files
fix: pth separator
1 parent 3c65ba2 commit b34aca6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/server/code-parse/path.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const path = require('path');
22

33
const convertRelativeToAbsolutePath = (base, relative = '') => {
44
const stack = base.split(path.sep),
5-
parts = relative.split(path.sep);
5+
parts = relative.split('/');
66

77
// TODO: here also webpack paths/aliases could be, now skip 'react', etc
88
if (parts.length <= 1) {

0 commit comments

Comments
 (0)