diff --git a/lib/output.js b/lib/output.js index 73b55865..70964125 100644 --- a/lib/output.js +++ b/lib/output.js @@ -315,7 +315,7 @@ function OutputStream(options) { // Fixes offsets for quoted keys of object literals remainder = token.endpos - token.pos - tokenName.length; - offset = remainder === 0 ? 0 : remainder/2; + offset = remainder === 0 ? 0 : 1; } options.source_map.add(