Update reason message for isolatedModules and esModuleInterop (#31150)
This is still required with SWC. The message just wasn't updated. Fixes #31149 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint`
This commit is contained in:
parent
283af4e69b
commit
9d7900c209
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ function getDesiredCompilerOptions(
|
|||
// 'parsedValue' matches the output value from ts.parseJsonConfigFileContent()
|
||||
esModuleInterop: {
|
||||
value: true,
|
||||
reason: 'requirement for babel',
|
||||
reason: 'requirement for SWC / babel',
|
||||
},
|
||||
module: {
|
||||
parsedValue: ts.ModuleKind.ESNext,
|
||||
|
@ -60,7 +60,7 @@ function getDesiredCompilerOptions(
|
|||
resolveJsonModule: { value: true, reason: 'to match webpack resolution' },
|
||||
isolatedModules: {
|
||||
value: true,
|
||||
reason: 'requirement for babel',
|
||||
reason: 'requirement for SWC / Babel',
|
||||
},
|
||||
jsx: {
|
||||
parsedValue: ts.JsxEmit.Preserve,
|
||||
|
|
Loading…
Reference in a new issue