mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-12-22 18:18:55 +00:00
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,
|
"resolveJsonModule": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"target": "es2017",
|
// https://stackoverflow.com/questions/51716406/typescript-tsconfig-settings-for-node-js-10
|
||||||
"lib": ["es2017", "dom"]
|
// and 'dom' to tell tsc it's okay to use the URL object (which is in Node >= 7)
|
||||||
|
"target": "es2018",
|
||||||
|
"lib": ["es2018", "dom"]
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"./src/**/*"
|
"./src/**/*"
|
||||||
|
@ -9,10 +9,10 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"sourceMap": 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)
|
// and 'dom' to tell tsc it's okay to use the URL object (which is in Node >= 7)
|
||||||
"target": "es2017",
|
"target": "es2018",
|
||||||
"lib": ["es2017", "dom"]
|
"lib": ["es2018", "dom"]
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"./src/**/*"
|
"./src/**/*"
|
||||||
|
Loading…
Reference in New Issue
Block a user