Skip to content

Commit

Permalink
Minor format Entry format nits.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalton committed Sep 17, 2018
1 parent ea100b1 commit 608a625
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/entry.js
Expand Up @@ -422,8 +422,8 @@ class Entry {
}

if (this.package.options.cjs.interop &&
! Reflect.has(getters, "__esModule") &&
this.extname !== ".mjs") {
this.extname !== ".mjs" &&
! Reflect.has(getters, "__esModule")) {
Reflect.defineProperty(exported, "__esModule", pseudoDescriptor)
}
} else {
Expand Down Expand Up @@ -763,7 +763,7 @@ function getExportByName(entry, name, parentEntry) {
const parentNamedExports =
entry.builtin ||
(! parentIsMJS &&
parentOptions.cjs.namedExports)
parentOptions.cjs.namedExports)

const noMutableNamespace =
! parentMutableNamespace ||
Expand Down

0 comments on commit 608a625

Please sign in to comment.