Skip to content
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

[@rollup/plugin-replace] Missing sourceMap option within Readme #1697

Open
1 of 4 tasks
EduardoAC opened this issue Mar 19, 2024 · 2 comments · May be fixed by #1698
Open
1 of 4 tasks

[@rollup/plugin-replace] Missing sourceMap option within Readme #1697

EduardoAC opened this issue Mar 19, 2024 · 2 comments · May be fixed by #1698

Comments

@EduardoAC
Copy link

  • Rollup Plugin Name: @rollup/plugin-replace
  • Rollup Plugin Version: 5.0.5

Documentation Is:

  • Missing
  • Needed
  • Confusing
  • Not Sure?

Please Explain in Detail...

Although the option sourceMap exists within the codebase it's not documented likely for historical reasons as it wasn't documented either on the archive plugin rollup-plugin-replace

Your Proposal for Changes

Add a new entry to the root README.md as follows

sourceMap

Type: Boolean

Default: false

Enables generating sourcemaps for the bundled code. For example, where the plugin is called as follows:

replace({
  sourcemap: true
});
@EduardoAC EduardoAC linked a pull request Mar 19, 2024 that will close this issue
9 tasks
@EduardoAC
Copy link
Author

The @rollup/plugin-replace documentation did not include the sourceMap option. To speed up the resolution, I've created a PR with the fix.

@EduardoAC
Copy link
Author

Hi @shellscape, Sorry to bother you, but I don't know the best way to resolve my issue. Can you have a look into this? It should be an easy PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant