You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/partials/_source-maps.mdx
+4
Original file line number
Diff line number
Diff line change
@@ -27,3 +27,7 @@ source maps are enabled to get the same experience. Some examples of this includ
27
27
option: `prettySourceMaps`, but this option is buggy and setting source maps on the esbuild
28
28
bundler directly works better.
29
29
- The other bundlers all default their source maps appropriately.
30
+
- If using [TypeScript](https://www.typescriptlang.org/) with any of the above preprocessors, you will want to make sure that the [TypeScript](https://www.typescriptlang.org/)
31
+
compiler is generating source maps. This can be done by setting the [`sourceMap`](https://www.typescriptlang.org/tsconfig/#sourceMap) option in your
32
+
`tsconfig.json` to `true`. The [`inlineSourceMap`](https://www.typescriptlang.org/tsconfig/#inlineSourceMap) option is **not** recommended as it does not provide an accurate code frame.
33
+
Please see our recommended [tsconfig.json](/app/tooling/typescript-support#Configure-tsconfigjson) as a reference.
0 commit comments