upgrade to ES6 modules and top-level await, add jsconfig.json with es2022
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import https://code.visualstudio.com/docs/languages/jsconfig
This commit is contained in:
parent
9bb548dc3e
commit
3b3289dddf
5 changed files with 186 additions and 182 deletions
9
jsconfig.json
Normal file
9
jsconfig.json
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"checkJs": true,
|
||||
"target": "es2021",
|
||||
"module": "es2022",
|
||||
"moduleResolution": "node",
|
||||
},
|
||||
"exclude": ["node_modules", "**/node_modules"]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue