Commit 2d962154 authored by Andrew Anikin's avatar Andrew Anikin Committed by Evan You

fix: fix wrong outputSourceRange usage (#1482)

parent c6ee310a
......@@ -55,7 +55,7 @@ module.exports = function (source) {
// errors
if (compiled.errors && compiled.errors.length) {
// 2.6 compiler outputs errors as objects with range
if (compiler.generateCodeFrame && finalOptions.outputSourceRange) {
if (compiler.generateCodeFrame && finalOptions.compilerOptions.outputSourceRange) {
// TODO account for line offset in case template isn't placed at top
// of the file
loaderContext.emitError(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment