Skip to content

Commit 4ef5e3b

Browse files
committed
minor fix
1 parent 29ddd49 commit 4ef5e3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ module.exports = function (content) {
581581
}
582582
// final export
583583
if (options.esModule) {
584-
output += '\nexports.__esModule = true;\nexports["default"] = Component.exports\n'
584+
output += '\nexport default Component.exports\n'
585585
} else {
586586
output += '\nmodule.exports = Component.exports\n'
587587
}

0 commit comments

Comments
 (0)