Skip to content

Commit f344de1

Browse files
committed
chore: todo [ci skip]
1 parent 2215585 commit f344de1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: lib/loaders/templateLoader.js

+2
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ module.exports = function (source) {
5656
if (compiled.errors && compiled.errors.length) {
5757
// 2.6 compiler outputs errors as objects with range
5858
if (compiler.generateCodeFrame && finalOptions.outputSourceRange) {
59+
// TODO account for line offset in case template isn't placed at top
60+
// of the file
5961
loaderContext.emitError(
6062
`\n\n Errors compiling template:\n\n` +
6163
compiled.errors.map(({ msg, start, end }) => {

0 commit comments

Comments
 (0)