I update the TypeScript compiler to be abstract and work with Preset configuration, so it will be very easy to write a Preset for ReactTypeScript, ReactNative, React(babel), Babel and send the configuration to this compiler because it does all the logic.
Update the main compiler version of the project, so we can now use optional-chaining.
Fix conflict between sourceMap and inlineSourceMap flags when the development flag is true.
getDynamicConfig function in typescript-preset.ts now receives the rawConfig object and create the tsconfig file.
Fix override array parameter in rawConfig object.(array in the rawConfig was not merged with the lodash merge function)
Proposed Changes
sourceMap
andinlineSourceMap
flags when the development flag is true.typescript-preset.ts
now receives the rawConfig object and create the tsconfig file.