Commit 9c90a73
authored
fix(es/codegen): Fix source map so it works with Sentry (#9627)
**Description:**
Fix web-infra-dev/rspack#7914
The following mapping is redundant and causes an error on Sentry.

```
Your source map refers to generated column 79 on line 1, but the source only contains 78 column(s) on that line.
```1 parent 6e7a009 commit 9c90a73
File tree
3 files changed
+14
-3
lines changed- .changeset
- crates
- swc_ecma_codegen/src
- swc/tests/fixture/sourcemap/issue-9567/output
3 files changed
+14
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1994 | 1994 | | |
1995 | 1995 | | |
1996 | 1996 | | |
1997 | | - | |
1998 | | - | |
| 1997 | + | |
| 1998 | + | |
| 1999 | + | |
| 2000 | + | |
| 2001 | + | |
| 2002 | + | |
| 2003 | + | |
1999 | 2004 | | |
2000 | 2005 | | |
2001 | 2006 | | |
| |||
0 commit comments