TS6 changes several compiler-option defaults. Pin the ones that matter so
behaviour is preserved without a wider migration:
- ignoreDeprecations "6.0" in the base config: downlevelIteration and the
frontend's es5 target are deprecated (removed in TS7) but still function;
defer the es5->es2015 migration to a separate effort.
- Pin the frontend to module=commonjs/moduleResolution=node (TS6 would
otherwise default to esnext/bundler, breaking deep monaco esm imports).
- Declare *.css/*.scss side-effect modules: TS6 defaults
noUncheckedSideEffectImports to true.
Verified: ts-check, lint, unit tests, webpack build, and cypress (81 specs)
all pass.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>