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 eee6bdd commit 3e1849fCopy full SHA for 3e1849f
lib/loader.js
@@ -173,8 +173,10 @@ module.exports = function (content) {
173
'if (__vue_script__ &&\n' +
174
' __vue_script__.__esModule &&\n' +
175
' Object.keys(__vue_script__).length > 1) {\n' +
176
- ' console.warn("[vue-loader] ' + path.relative(process.cwd(), filePath) +
177
- ': named exports in *.vue files are ignored.")' +
+ ' console.warn(' + JSON.stringify(
+ '[vue-loader] ' + path.relative(process.cwd(), filePath) +
178
+ ': named exports in *.vue files are ignored.'
179
+ ) + ')' +
180
'}\n'
181
}
182
0 commit comments