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

Support esModuleInterop option from TypeScript 2.7 #88

Open
kestred opened this issue Mar 23, 2018 · 4 comments
Open

Support esModuleInterop option from TypeScript 2.7 #88

kestred opened this issue Mar 23, 2018 · 4 comments

Comments

@kestred
Copy link

kestred commented Mar 23, 2018

The typescript compiler seems to ignore or stomp on this configuration option.

Making this available should reduce ecosystem compatibility problems; I suspect it will address the issues in electron-userland/electron-compile#294.

@cwmoo740
Copy link

It looks like that electron-compilers never loads the root project's tsconfig.json.

@kestred
Copy link
Author

kestred commented Mar 30, 2018

@cwmoo740: it doesn't; it parses the typescript compiler options out of .compilerc, which is as intended I think?

@danguilherme
Copy link

Did you manage to get it working? esModuleInterop just seems to be ignored in my config.
I saw the issue #89, but different from the title, the TypeScript version was changed to >=1.7 (and also, it looks like the change is not on npm).

@danguilherme
Copy link

Nevermind, I got it working.
The problem was that my config file, .compilerc.json, was not being loaded, probably because of this issue: electron-userland/electron-compile#147.

To get this over with I just renamed the file to .compilerc, and it worked.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants