You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When passing compiler options in the external format (like in tsconfig.json and like it stated in the plugin's documentation) it fails to parse "enumerated" fields like moduleResolution with the error like this: Unexpected moduleResolution: Node.
Expected behavior
It should parse such fields correctly.
Steps to reproduce the issue
Pass this config:
{ moduleResolution: 'Node' }
Environment
fork-ts-checker-webpack-plugin: ^4.0.4
typescript: ^3.7.2
webpack: ^4.41.0
os: Ubuntu 18.04.4 LTS, Linux 5.3.0-40-generic
Workaround
Use convertCompilerOptions() from @moebius/ts-compiler-options to convert options from external format to internal first:
@slavafomin
Please try fork-ts-checker-webpack-plugin@alpha - I've published a new version which should resolve this issue 🚀
I will close this issue to clean-up the backlog. If this release didn't solve the issue, we can re-open this :)
Current behavior
When passing compiler options in the external format (like in
tsconfig.json
and like it stated in the plugin's documentation) it fails to parse "enumerated" fields likemoduleResolution
with the error like this:Unexpected moduleResolution: Node
.Expected behavior
It should parse such fields correctly.
Steps to reproduce the issue
Pass this config:
Environment
^4.0.4
^3.7.2
^4.41.0
Ubuntu 18.04.4 LTS, Linux 5.3.0-40-generic
Workaround
Use
convertCompilerOptions()
from @moebius/ts-compiler-options to convert options from external format to internal first:The text was updated successfully, but these errors were encountered: