a-la / alamode

A Node.JS RegExp-based transpiler of source code.
https://alamode.cc
GNU Affero General Public License v3.0
10 stars 1 forks source link

don't add __esModule check for modules inside of project dir. #3

Closed zavr-1 closed 5 years ago

zavr-1 commented 5 years ago

There is no need to check for

let repos = require('./api/repos'); if (repos && repos.__esModule) repos = repos.default;

when we compile our own project with alamode. This is only necessary for external types.