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
{{ message }}
This repository has been archived by the owner on Dec 1, 2019. It is now read-only.
When I pass {jsx: 'react'} to configFileContent, it doesn't work.
So I checked the source code and found the problem, as shown below.
instance.ts file
In the function parseJsonConfigFileContent, the forth parameter will cover the first paramter. At the same time, the code tsImpl.getDefaultCompilerOptions() always return {jsx:1, target:1}. So whatever I pass to configFileContent, the jsx is set 1 and target is set 1.
I think it's a bug to be fixed.
The text was updated successfully, but these errors were encountered:
RhysXia
changed the title
Option configFileContent cannot set target, jsx
Option configFileContent cannot set target, jsx
Apr 3, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I pass
{jsx: 'react'}
toconfigFileContent
, it doesn't work.So I checked the source code and found the problem, as shown below.
instance.ts
fileIn the function
parseJsonConfigFileContent
, the forth parameter will cover the first paramter. At the same time, the codetsImpl.getDefaultCompilerOptions()
always return{jsx:1, target:1}
. So whatever I pass toconfigFileContent
, thejsx
is set 1 andtarget
is set 1.I think it's a bug to be fixed.
The text was updated successfully, but these errors were encountered: