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
sourcemap inline doesn't work when using API #3913
Comments
Thanks for opening an issue. Citing the issue template:
Please add a reproduction and we'll be happy to triage further. |
Reproduction: https://repl.it/@electerious/rollup-repro#index.js |
thank you |
Finally: Fix at #4605 |
This issue has been resolved via #4605 as part of rollup@3.0.0-6. Note that this is a pre-release, so to test it, you need to install Rollup via |
This issue has been resolved via #4605 as part of rollup@3.0.0-7. Note that this is a pre-release, so to test it, you need to install Rollup via |
This issue has been resolved via #4605 as part of rollup@3.0.0-8. Note that this is a pre-release, so to test it, you need to install Rollup via |
This issue has been resolved via #4605 as part of rollup@3.0.0. You can test it via |
See https://repl.it/@electerious/rollup-repro#index.js (run with
node index.js
)Expected Behavior
I'm using the API and passing the
sourcemap: 'inline'
option to Rollup (output options). I've expected that the sourcemap is inline and therefore a part ofoutput[0].code
.Actual Behavior
The sourcemap is only available via
output[0].map
, but not part ofoutput[0].code
.That might be the correct behaviour when using the API, but there's nothing in the docs telling me that 'inline' won't work when using the API.
The text was updated successfully, but these errors were encountered: