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 4d37780 commit 595d502Copy full SHA for 595d502
lib/loader.js
@@ -466,7 +466,7 @@ module.exports = function (content) {
466
// check named exports
467
output +=
468
'if (Component.esModule && Object.keys(Component.esModule).some(function (key) {' +
469
- 'return key !== "default" && key !== "__esModule"' +
+ 'return key !== "default" && key.substr(0, 2) !== "__"' +
470
'})) {' +
471
'console.error("named exports are not supported in *.vue files.")' +
472
'}\n'
0 commit comments