analog
analog copied to clipboard
[BUG]: Sourcemaps not working correctly
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
@himyjan don't add to existing issues that are not relevant. Open a new issue with a reproduction in a GitHub repo
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