Skip to content

Commit

Permalink
fixup! Add default export to compiled classes
Browse files Browse the repository at this point in the history
  • Loading branch information
qfox authored Nov 8, 2017
1 parent 0d53b5d commit 6cf1a5b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Core.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,8 @@ export default function Core(options) {
entity.declWrappers = null;
}

if(entityCls) {
if(entityCls)
(entity.wrappedCls || entityCls).default = (entity.wrappedCls || entityCls);
}

return entity.wrappedCls || entityCls;
}
Expand Down

0 comments on commit 6cf1a5b

Please sign in to comment.