chore: Replace deprecated 'node' module resolution with 'bundler' and tighten compiler options (#2594)

This commit is contained in:
Dermot Duffy
2026-07-22 12:12:00 -07:00
committed by GitHub
parent 87ecbc7e45
commit 2ca4aa95e5
13 changed files with 29 additions and 29 deletions
+7 -3
View File
@@ -2,11 +2,12 @@
"compilerOptions": {
"target": "es2021",
"module": "es2020",
"moduleResolution": "node",
"moduleResolution": "bundler",
"verbatimModuleSyntax": true,
"isolatedModules": true,
"lib": ["es2021", "dom", "dom.iterable"],
"noEmit": true,
"noErrorTruncation": false,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
@@ -15,8 +16,11 @@
"skipLibCheck": true,
"resolveJsonModule": true,
"experimentalDecorators": true,
// Lit's @property installs an accessor on the prototype. Class field
// semantics would define an own property on each instance that shadows it,
// so property writes would no longer trigger a render.
"useDefineForClassFields": false,
"esModuleInterop": true,
"sourceMap": true,
"plugins": [
{
"name": "ts-lit-plugin",