Browse Source
Default exports that are only used internally now included
legacy-quote-reserved-properties
Permutator
8 years ago
No known key found for this signature in database
GPG Key ID: 763F7A2F18CAB33E
1 changed files with
1 additions and
1 deletions
-
src/ast/nodes/ExportDefaultDeclaration.js
|
|
@ -49,7 +49,7 @@ export default class ExportDefaultDeclaration extends Node { |
|
|
|
const treeshake = this.module.bundle.treeshake; |
|
|
|
const name = this.getName( es ); |
|
|
|
|
|
|
|
if ( this.shouldInclude ) { |
|
|
|
if ( this.shouldInclude || this.declaration.activated ) { |
|
|
|
if ( this.activated ) { |
|
|
|
if ( functionOrClassDeclaration.test( this.declaration.type ) ) { |
|
|
|
if ( this.declaration.id ) { |
|
|
|