Open zbeucler-largo opened 1 year ago
current simpleui-server build flags:
tsc --allowJs --outDir dist/simpleui-server -t es5 --lib "es5,es2015,es2016" --moduleResolution node --sourcemap src/simpleui-server.ts src/simpleui-server.ts
Should be fine, but might want to research if using updatinges5
is beneficial. ES11
and ES12
are the current
ECMAScript 2015
(also known as ES6
) introduced classes, arrow functions, template literals, and the let and const keywords. It also added new array methods such as find
, findIndex
, and includes
, as well as new methods for working with objects, such as Object.assign
and Object.keys
.ECMAScript 2016
(also known as ES7
) introduced the Array.prototype.includes
method and the exponentiation operator (**)
.ECMAScript 2017
(also known as ES8
) introduced the async
and await
keywords for asynchronous programming, the Object.values
and Object.entries
methods, and the String.prototype.padStart
and String.prototype.padEnd
methods.ECMAScript 2018
(also known as ES9
) introduced the Object.entries
method, thePromise.prototype.finally
method, and the RegExp.prototype.flags
property.ECMAScript 2019
(also known as ES10
) introduced the Array.prototype.flat
and Array.prototype.flatMap
methods, the Object.fromEntries
method, and the String.prototype.trimStart
and String.prototype.trimEnd
methods.ECMAScript 2020
(also known as ES11
) introduced the globalThis
variable, the import.meta
property, the Promise.allSettled
method, and the String.prototype.replaceAll
method. It also included improvements to the global JSON
object, the Map
and Set
objects, and the WeakMap
and WeakSet
objects.
Remove unused parts of the build steps (EX: node-dirs-to-copy.txt) and figure out if we can simply it at all