sprockets
sprockets copied to clipboard
Allow the source map to include the sourcesContent component
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