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

feat(TypeScriptCompiler): utilize ts compiler api directly instead of 3rd party module #50

Closed
wants to merge 1 commit into from

Conversation

kwonoj
Copy link
Contributor

@kwonoj kwonoj commented Jan 8, 2017

This PR introduced change to TypeScriptCompiler implementation, no longer rely on 3rd party compiler wrapper (typescript-simple) instead directly consume TypeScript compiler api.

This change is BREAKING change for several reasons,

  • now TypeScript compiler is peerDependencies, have minimum requirement of >=1.6 to support latest breaking compiler api surface.
  • now electron-compilers no longer automatically mutate some of compiler options based on context, strictly consume user configuration object as-is. Means, if user accidentally unspecified / incorrectly specified some of configs (like not setting react for tsx), user will experience compilation failure since TypeScriptCompiler impl no logner touches it.

@kwonoj
Copy link
Contributor Author

kwonoj commented Jan 8, 2017

closing PR as changes are checked in accordingly.

@kwonoj kwonoj closed this Jan 8, 2017
@kwonoj kwonoj deleted the feat-ts-compiler branch January 8, 2017 05:20
@anaisbetts
Copy link
Contributor

So confused, why didn't GitHub mark this as merged

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

Successfully merging this pull request may close these issues.

None yet

2 participants