mirror of https://github.com/jiahaog/Nativefier
TSConfig: bump to target/lib es2018, since we require node10
This commit is contained in:
parent
d90d9f3d7f
commit
519e65e7da
|
@ -10,8 +10,10 @@
|
|||
"resolveJsonModule": true,
|
||||
"skipLibCheck": true,
|
||||
"sourceMap": true,
|
||||
"target": "es2017",
|
||||
"lib": ["es2017", "dom"]
|
||||
// https://stackoverflow.com/questions/51716406/typescript-tsconfig-settings-for-node-js-10
|
||||
// and 'dom' to tell tsc it's okay to use the URL object (which is in Node >= 7)
|
||||
"target": "es2018",
|
||||
"lib": ["es2018", "dom"]
|
||||
},
|
||||
"include": [
|
||||
"./src/**/*"
|
||||
|
|
|
@ -9,10 +9,10 @@
|
|||
"resolveJsonModule": true,
|
||||
"skipLibCheck": true,
|
||||
"sourceMap": true,
|
||||
// https://stackoverflow.com/questions/48378495/recommended-typescript-config-for-node-8
|
||||
// https://stackoverflow.com/questions/51716406/typescript-tsconfig-settings-for-node-js-10
|
||||
// and 'dom' to tell tsc it's okay to use the URL object (which is in Node >= 7)
|
||||
"target": "es2017",
|
||||
"lib": ["es2017", "dom"]
|
||||
"target": "es2018",
|
||||
"lib": ["es2018", "dom"]
|
||||
},
|
||||
"include": [
|
||||
"./src/**/*"
|
||||
|
|
Loading…
Reference in New Issue