-
Notifications
You must be signed in to change notification settings - Fork 103
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
Question about Check that you are using the correct source map.
#184
Comments
Hello,
Maybe. Unmapped bytes are usually generated code like webpack boilerplate, typescript helpers (tslib) and babel helpers. As you can see on source map visualization you've linked there are a substantial amount of unmapped code (code w/o highlighting)
Unmapped bytes are not always indicate an error. I believe generated code isn't mapped intentionally - like why do you need mapping for webpack module loading code. If an external dependency is bundled it's in most cases get mapped |
All right I mean
Thank you |
To exclude unmapped bytes from result set |
I get it Thanks a lot for your explanations~ |
Thnks a lot, it's worked for me |
Hi, not sure if this issue is belong to here, but I'll try to explain in detail and to see if anyone can help
I'm using
nrwl/nx
to build an API service withnestjs/nest
As mentioned in title, I face this error when generating treemap.
I found out that
--no-border-checks
flag introduced in the newest release2.4.2
can ignore the error and generate part of map.treemap.html
below)However, I cannot find out which part is the
unmapped
part by tracing the sourcemain.js
andmain.js.map
source-map-visualization
)main.js
,main.js.map
, andtreemap.html
if needed (.txt is required for uploading to GitHub)My questions are:
unmapped
part and the error happened because of that 3 external modules?unmapped
part is for the 3 external modules, how can I fix it (e.g., manually add them into treemap?)--external-module=DIR_OR_MODULE_NAME
can help on adding source map for external dependencies?Thank you :D
The text was updated successfully, but these errors were encountered: