We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent facacc1 commit e493d79Copy full SHA for e493d79
src/sfc/parser.js
@@ -99,7 +99,7 @@ export function parseComponent (
99
currentBlock.end = start
100
currentBlock.blockEnd = end
101
let text = content.slice(currentBlock.start, currentBlock.end)
102
- if (!(process.env.NODE_ENV !== 'production' && options.outputSourceRange) && !options.disableDeindent) {
+ if (process.env.NODE_ENV === 'production' || !options.outputSourceRange) {
103
text = deindent(text)
104
}
105
// pad content so that linters and pre-processors can output correct
0 commit comments