Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .changeset/windows-inline-sourcemaps.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
"@workflow/ai": patch
"@workflow/astro": patch
"@workflow/builders": patch
"@workflow/cli": patch
"@workflow/core": patch
"@workflow/errors": patch
"@workflow/next": patch
"@workflow/nest": patch
"@workflow/nitro": patch
"@workflow/nuxt": patch
"@workflow/rollup": patch
"@workflow/serde": patch
"@workflow/sveltekit": patch
"@workflow/typescript-plugin": patch
"@workflow/utils": patch
"@workflow/vite": patch
"@workflow/vitest": patch
"@workflow/web-shared": patch
"@workflow/world": patch
"@workflow/world-local": patch
"@workflow/world-postgres": patch
"@workflow/world-testing": patch
"@workflow/world-vercel": patch
"workflow": patch
---

Use inline sourcemaps for all workspace packages; published packages no longer ship external `.js.map` files.
4 changes: 1 addition & 3 deletions packages/core/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"extends": "@workflow/tsconfig/base.json",
"compilerOptions": {
"outDir": "dist",
"sourceMap": false,
"inlineSourceMap": true
"outDir": "dist"
},
"include": ["src"],
"exclude": ["node_modules", "**/*.test.ts"]
Expand Down
3 changes: 2 additions & 1 deletion packages/tsconfig/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"declarationMap": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"sourceMap": true,
"sourceMap": false,
"inlineSourceMap": true,
"inlineSources": true,
"isolatedModules": true,
"moduleResolution": "node16",
Expand Down
5 changes: 1 addition & 4 deletions packages/workflow/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
{
"extends": "@workflow/tsconfig/base.json",
"compilerOptions": {
"outDir": "dist",
"sourceMap": false,
// See https://github.com/vercel/workflow/pull/352
"inlineSourceMap": true
"outDir": "dist"
},
"include": ["src"],
"exclude": ["node_modules", "**/*.test.ts"]
Expand Down