For non-entrypoint scripts, source maps is not loaded by default because it is stored separately in eszip.
This PR will make the source map automatically append to the end of the module code when it is loaded by the module loader if it exists in eszip. (However, due to the extra cost of copying a source buffer, it is only performed if the inspector is enabled)
What kind of change does this PR introduce?
Bug fix
Description
For non-entrypoint scripts, source maps is not loaded by default because it is stored separately in eszip.
This PR will make the source map automatically append to the end of the module code when it is loaded by the module loader if it exists in eszip. (However, due to the extra cost of copying a source buffer, it is only performed if the inspector is enabled)