We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When generating a bundle with the options create : true and no optimizer, the source map contains an artificial entry module-create.js in the sources (from https://github.com/requirejs/r.js/blob/master/build/jslib/build.js#L2125)
create : true
module-create.js
The problem is the relative path to this entry seems to be generated from the root of the build location. In my case it contains
{ "version":3, "sources":[ //... all soures are listed with a correct rel path and then "../../../../../../../../../../../module-create.js" ] //... }
If this has no real impact on the browser debugging, it creates different source maps based on where you launch the build.
The text was updated successfully, but these errors were encountered:
You might need to tweak the values of sources and sourceRoot in the source map. Rebase them onto your source and output locations.
sources
sourceRoot
Sorry, something went wrong.
No branches or pull requests
When generating a bundle with the options
create : true
and no optimizer, the source map contains an artificial entrymodule-create.js
in the sources (from https://github.com/requirejs/r.js/blob/master/build/jslib/build.js#L2125)The problem is the relative path to this entry seems to be generated from the root of the build location. In my case it contains
If this has no real impact on the browser debugging, it creates different source maps based on where you launch the build.
The text was updated successfully, but these errors were encountered: