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

Allow the source map to include the sourcesContent component #580

Open
moliver-hemasystems opened this issue Sep 26, 2018 · 0 comments · May be fixed by #697
Open

Allow the source map to include the sourcesContent component #580

moliver-hemasystems opened this issue Sep 26, 2018 · 0 comments · May be fixed by #697

Comments

@moliver-hemasystems
Copy link

We're trying to setup our app to send the generated source maps to NewRelic in order to debug any JS errors that occur in our production environment, and they have a requirement that the source maps need to include the source content in the map file via the sourcesContent component. I know this is an optional component of the source map, but there doesn't seem to be a way to configure sprockets to include it.

Expected behavior

We should be able to configure sprockets to opt-in to including the sourcesContent in the source map.

Actual behavior

There currently does not seem to be a way to opt-in to including the sourcesContent component of the source maps.

System configuration

  • Sprockets version: 4.0.0.beta8
  • Ruby version: 2.3.4
@qnighy qnighy linked a pull request Nov 2, 2020 that will close this issue
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