Skip to content

Commit

Permalink
[localize & labs/testing] Inline TS source in JS source map (#3198)
Browse files Browse the repository at this point in the history
  • Loading branch information
augustjk committed Aug 5, 2022
1 parent 0725fdb commit 0162fba
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/perfect-nails-smoke.md
@@ -0,0 +1,6 @@
---
'@lit-labs/testing': patch
'@lit/localize': patch
---

TS sources are now inlined in the JS source maps
1 change: 1 addition & 0 deletions packages/labs/testing/tsconfig.json
Expand Up @@ -14,6 +14,7 @@
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"inlineSources": true,
"incremental": true,
"tsBuildInfoFile": ".tsbuildinfo",
"allowSyntheticDefaultImports": true,
Expand Down
1 change: 1 addition & 0 deletions packages/localize/package.json
Expand Up @@ -61,6 +61,7 @@
},
"files": [
"/lit-localize.d.ts",
"/lit-localize.d.ts.map",
"/lit-localize.js",
"/lit-localize.js.map",
"/internal/",
Expand Down
2 changes: 2 additions & 0 deletions packages/localize/tsconfig.json
Expand Up @@ -12,7 +12,9 @@
"rootDir": "src/",
"outDir": ".",
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"inlineSources": true,
"incremental": true,
"tsBuildInfoFile": ".tsbuildinfo",
"allowSyntheticDefaultImports": true,
Expand Down

0 comments on commit 0162fba

Please sign in to comment.