You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am troubleshooting a runtime issue with absolute paths in the compiled source map. When running from the CLI, dart-sass compiles source maps with relative paths, as expected. However, when running in JS using sass.render() or sass.renderSync() the source maps are generated with absolute paths. This is problematic as the generated source maps' URLs point to where they are found on my local storage rather than where a user can access them from relative web directory.
I have been unable to determine any options I can pass to these functions to generate relative source map URLs. Is there something I am missing?
The text was updated successfully, but these errors were encountered:
I am troubleshooting a runtime issue with absolute paths in the compiled source map. When running from the CLI, dart-sass compiles source maps with relative paths, as expected. However, when running in JS using
sass.render()
orsass.renderSync()
the source maps are generated with absolute paths. This is problematic as the generated source maps' URLs point to where they are found on my local storage rather than where a user can access them from relative web directory.I have been unable to determine any options I can pass to these functions to generate relative source map URLs. Is there something I am missing?
The text was updated successfully, but these errors were encountered: