Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
0791b232
Commit
0791b232
authored
3 years ago
by
puxiao
Browse files
Options
Download
Email Patches
Plain Diff
tsconfig.json:modify the compilation target from es5 to es6
parent
428ddb68
github/fork/puxiao/main
1 merge request
!12086
Updated tsconfig.json:modify the compilation target from es5 to es6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/react-scripts/scripts/utils/verifyTypeScriptSetup.js
+2
-2
...ages/react-scripts/scripts/utils/verifyTypeScriptSetup.js
with
2 additions
and
2 deletions
+2
-2
packages/react-scripts/scripts/utils/verifyTypeScriptSetup.js
+
2
-
2
View file @
0791b232
...
...
@@ -118,8 +118,8 @@ function verifyTypeScriptSetup() {
// tsconfig.json
// 'parsedValue' matches the output value from ts.parseJsonConfigFileContent()
target
:
{
parsedValue
:
ts
.
ScriptTarget
.
ES
5
,
suggested
:
'
es
5
'
,
parsedValue
:
ts
.
ScriptTarget
.
ES
6
,
suggested
:
'
es
6
'
,
},
lib
:
{
suggested
:
[
'
dom
'
,
'
dom.iterable
'
,
'
esnext
'
]
},
allowJs
:
{
suggested
:
true
},
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets