diff --git a/lib/parser.js b/lib/parser.js index d65b14fe4..66439909f 100644 --- a/lib/parser.js +++ b/lib/parser.js @@ -12,7 +12,7 @@ module.exports = function (content, filename, needMap) { var filenameWithHash = filename + '?' + cacheKey var output = cache.get(cacheKey) if (output) return output - output = compiler.parseComponent(content, { pad: true }) + output = compiler.parseComponent(content, { pad: 'line' }) if (needMap) { if (output.script && !output.script.src) { output.script.map = generateSourceMap(