Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

Commit

Permalink
ensure __useDefault is not defined for namespace lifting
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Feb 16, 2017
1 parent 833aa29 commit 8200f49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion templates/sfx-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
if (Object.hasOwnProperty.call(exports, p))
esModule[p] = exports[p];
}
esModule.__useDefault = false;
if (esModule.__useDefault)
delete esModule.__useDefault;
esModule.__esModule = true;
}

Expand Down
2 changes: 1 addition & 1 deletion templates/sfx-core.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8200f49

Please sign in to comment.