We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d6ca47 commit c62e846Copy full SHA for c62e846
lib/parser.js
@@ -76,7 +76,10 @@ module.exports = function (content) {
76
result =
77
commentScript(content.slice(0, start), lang) +
78
content.slice(start, end) +
79
- commentScript(content.slice(end), lang)
+ commentScript(content.slice(end), lang) +
80
+ // workaround for Webpack eval-source-map bug
81
+ // https://github.com/webpack/webpack/pull/1816
82
+ '\n/* generated by vue-loader */\n'
83
} else {
84
result = content.slice(start, end).trim()
85
}
0 commit comments