Commit dfa7169
fix: Warning of missing source maps in website Chrome DevTools logs
Loading source maps has never worked for the content scripts. It failed silently until Chrome 80, but now a warning is displayed.
It's currently unclear if/when source map loading would be supported.
See https://chromium-review.googlesource.com/c/chromium/src/+/2141899
It would be possible, with additional rollup plugins, to inline the TS source maps, but that would increase the compiled .js file sizes a lot (over 100kb for content.js).
Turning off source map for the content script.
Signed-off-by: Tanel Metsar <[email protected]>1 parent ea16b9f commit dfa7169
2 files changed
+4
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
93 | | - | |
| 91 | + | |
| 92 | + | |
94 | 93 | | |
95 | 94 | | |
96 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
0 commit comments