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:
Ralf Vogler 2022-02-24 18:26:51 +01:00
parent 9bb548dc3e
commit 3b3289dddf
5 changed files with 186 additions and 182 deletions

View file

@ -10,5 +10,6 @@
"@playwright/test": "^1.17.1",
"playwright": "^1.17.1",
"puppeteer-extra-plugin-stealth": "^2.9.0"
}
},
"type": "module"
}