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 e7df13d commit 5368447Copy full SHA for 5368447
lib/loader.js
@@ -389,7 +389,7 @@ module.exports = function (content) {
389
// check named exports
390
output +=
391
'if (Component.esModule && Object.keys(Component.esModule).some(function (key) {' +
392
- 'return key !== "default" && key !== "__esModule"' +
+ 'return key !== "default" && key.substr(0, 2) !== "__"' +
393
'})) {' +
394
'console.error("named exports are not supported in *.vue files.")' +
395
'}\n'
0 commit comments