`declarativeNetRequest` cannot redirect the JavaScript sourceMap file
226 views
Skip to first unread message
MYCOIN HZ
unread,
Mar 8, 2024, 10:15:17 AM3/8/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium Extensions
We use declarativeNetRequest to redirect front-end static resources from the production environment to the local 'webpack dev server' for daily functional development.
Although the functionality of the resource can be replaced to the local machine normally, the sourceMap cannot be loaded properly. Through a global search of the source code, it was found that the CSS file already displayed the address after the proxy, but the JS file did not display as expected
张文涛
unread,
Apr 1, 2025, 5:43:05 PMApr 1
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message