Upgrading ts-loader 2 to 3
Breaking2.3.7 → 3.5.0Breaking1Deprecated1New5Changed2Fixed4Other1
BreakingUpgrade verdict
1 breaking change.
In plain terms
- The old setting for choosing the base folder is gone; use the new `context` setting instead.
- If you are stuck on TypeScript 2.3 or older and hit this bug, you can still set entryFileCannotBeJs to true, but the option is now deprecated and will likely be removed in the next major version.
Must act 2 items need code or config changes
Adds micromatch ^3.1.4.
Installs 126 packages in all (was 28).
What you must change
Breaking1
Replaces the
contextAsConfigBasePath option with a new context option.contextAsConfigBasePathcontextDeprecations to plan for
Deprecated1
Deprecates the entryFileCannotBeJs option, a workaround for TypeScript 2.3 and below affected by the allowJs @types issue.
entryFileCannotBeJs