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.
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,
peerDependencies
, have minimum requirement of>=1.6
to support latest breaking compiler api surface.electron-compiler
s 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 settingreact
for tsx), user will experience compilation failure sinceTypeScriptCompiler
impl no logner touches it.