Upgrade TypeScript, codemirror, and everything else too.
Switches to moduleResolution: nodenext. This makes TypeScript follow export conditions. For Lit, that means we'll now see an error when the .js extension is missing from an import.
Because the type and imports/exports fields are now significant, we now pass the package.json to TypeScript. In addition, because the default type is commonjs, we force the default to be module instead, so that we get module semantics by default.
Switches target from es2017 to es2021, which is supported in all modern browsers.
Upgrades to the latest Wireit to get services, and configured for the serve command.
Upgrade TypeScript, codemirror, and everything else too.
Switches to
moduleResolution: nodenext
. This makes TypeScript followexport
conditions. For Lit, that means we'll now see an error when the.js
extension is missing from an import.Because the
type
andimports/exports
fields are now significant, we now pass thepackage.json
to TypeScript. In addition, because the defaulttype
iscommonjs
, we force the default to bemodule
instead, so that we get module semantics by default.Switches
target
fromes2017
toes2021
, which is supported in all modern browsers.Upgrades to the latest Wireit to get services, and configured for the
serve
command.