Skip to content

Commit acaf6a6

Browse files
committed
fix: fix sourceMap lines off
1 parent d8094e7 commit acaf6a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/parser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function generateSourceMap (filename, source, generated, sourceRoot) {
4949
map.addMapping({
5050
source: filename,
5151
original: {
52-
line: index + 1,
52+
line: index,
5353
column: 0
5454
},
5555
generated: {

0 commit comments

Comments
 (0)