analog icon indicating copy to clipboard operation
analog copied to clipboard

[BUG]: Sourcemaps not working correctly

Open brandonroberts opened this issue 3 years ago • 1 comments
trafficstars

Please provide the environment you discovered this bug in.

Local development

Which area/package is the issue in?

vite-plugin-angular

Description

Setting breakpoints in Chrome isn't working correctly, and viewing the source of a file displays two sets of strings for the sourcemap.

Please provide the exception or error you saw

No response

Other information

No response

I would be willing to submit a PR to fix this issue

  • [ ] Yes
  • [ ] No

brandonroberts avatar Sep 21 '22 00:09 brandonroberts

@himyjan don't add to existing issues that are not relevant. Open a new issue with a reproduction in a GitHub repo

brandonroberts avatar Oct 14 '22 14:10 brandonroberts

This fixes sourcemaps in the Angular CLI implementation for reference https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/vite-server.ts#L587

brandonroberts avatar Dec 30 '23 02:12 brandonroberts