Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(@angular-devkit/build-angular): use relative sourcemap source pat…
…hs for Sass in esbuild builder The Sass preprocessor's modern API will generate absolute file URLs for the `sources` field of generated sourcemaps. These URLs will not be properly processed by esbuild and will not be correctly adjusted to be relative to the workspace root directory for the built application. To correct this behavior, the Sass generated sourcemaps are now adjusted to remove the `file:` protocol prefix and to make each path relative to its input file. This allows esbuild to properly resolve and process the paths.
- Loading branch information