Skip to content

Commit 7e238d1

Browse files
committed
fixed source map root relative path generation
1 parent a69f0a0 commit 7e238d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/build/browserify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ function compile(bannerWidth, transforms) {
118118
var result = [
119119
sourceMapBase || '',
120120
isProject ? rootRelPath : path.basename(rootRelPath)
121-
].join(path.sep);
121+
].join('/');
122122
if ((typeof i === 'number') && (typeof array === 'object')) {
123123
array[i] = result;
124124
}

0 commit comments

Comments
 (0)