generated from JetBrains/intellij-platform-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DevTools cannot load SourceMap files (net::ERR_NAME_NOT_RESOLVED
)
#7
Labels
Comments
It seems this may be due to a quirk of chrome : |
bric3
added
wontfix
This will not be worked on
and removed
help wanted
Extra attention is needed
labels
Jun 28, 2021
It seems I can't do anything about it, within the boundary of this project. |
Workaround in facebook/create-react-app#790 (comment), by using
The non modifiable webpack config passed to react-script is located here : |
bric3
added a commit
that referenced
this issue
Jul 1, 2021
The webapp is now built with a override of the default react-script webpack config, this override disables optimizations and inline source maps. Workaround of facebook/create-react-app#790, by using `react-script-rewired` and passing a custom webpack configuration override. The non-modifiable webpack config passed to react-script is located here : `excalidraw-assets/node_modules/react-scripts/config/webpack.config.js` Related to #7
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I opened a ticket on JCEF about sourcemap not available in DevTools, see
https://bitbucket.org/chromiumembedded/java-cef/issues/403/devtools-cannot-load-sourcemap-files-net
I have Java code that expose a progressive web app via JCEF. However the third-party web-app javascript is minified. They do provide source maps however. This works fine in a usual browser.
However when running inside a JCEF frame, the devtools cannot load these source maps.
I am registering a custom scheme handler
I even tried to hook a request handler
Debugging at these location didn’t help much, as I don’t see any request to
https://my-app/2.c9d7d260.chunk.js.map
for example.I am not sure if this is a bug or a missing feature, or simply a misuse.
I even tried to add this request handler on the devtool browser
cefBrowser.devTools
The text was updated successfully, but these errors were encountered: