Bump default JS target for scripts in html (#150240)

* Bump default JS target for scripts in html

For JS/TS files, we target ES2020 by default. However in html files we're still stuck targetting es6

This change aligns the two

* use es2020.full (includes dom), fix web, avoid searching in node_modules

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
This commit is contained in:
Matt Bierner
2022-05-25 02:50:44 -07:00
committed by GitHub
parent 9ade6a6636
commit a6724dcc10
3 changed files with 13 additions and 4 deletions

View File

@@ -31,7 +31,7 @@ module.exports = function () {
queue.push(name);
};
enqueue('es6');
enqueue('es2020.full');
var result = [];
while (queue.length > 0) {