Skip to content

Commit 3c699eb

Browse files
committed
oops
1 parent 5146ee5 commit 3c699eb

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎lib/Parser.js‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1178,7 +1178,6 @@ class Parser extends Tapable {
11781178

11791179
walkExportDefaultDeclaration(statement) {
11801180
this.hooks.export.call(statement);
1181-
if (statement.declaration.id) {
11821181
if (statement.declaration.id && statement.declaration.type !== 'FunctionExpression') {
11831182
if (
11841183
!this.hooks.exportDeclaration.call(statement, statement.declaration)

0 commit comments

Comments
 (0)