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 8c4550f commit a255926Copy full SHA for a255926
lib/loader.js
@@ -362,13 +362,6 @@ module.exports = function (content) {
362
// add filename in dev
363
output +=
364
'Component.options.__file = ' + JSON.stringify(shortFilePath) + '\n'
365
- // check named exports
366
- output +=
367
- 'if (Component.esModule && Object.keys(Component.esModule).some(function (key) {' +
368
- ' return key !== "default" && key.substr(0, 2) !== "__"' +
369
- '})) {' +
370
- ' console.error("named exports are not supported in *.vue files.")' +
371
- '}\n'
372
}
373
374
// add requires for customBlocks
0 commit comments