diff --git a/index.js b/index.js index bbf7fa8..be562fd 100644 --- a/index.js +++ b/index.js @@ -28,8 +28,8 @@ module.exports = function (txt, opt) { map.addMapping({ generated: { - line: offset, - column: 0 + line: 1, + column: offset }, source: file, original: { diff --git a/package.json b/package.json index 2df3e9d..5cd54e8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "txt2map4wasm", - "version": "1.0.3", + "version": "1.1.0", "description": "Translates wasm text source map to JSON map", "main": "index.js", "scripts": {