Charles Lyding e891786dcc fix(@angular-devkit/build-angular): avoid double sourcemap comments with esbuild dev-server
When using the esbuild-based browser application builder with the dev-server builder, sourcemap
URL comments were unintentionally doubled due to vite adding an additional inline sourcemap comment
when processing the JavaScript files for the application. To avoid this, JavaScript files now have
any sourcemap URL comments removed prior to being processed by vite. The sourcemap content is already
passed directly to vite and allows the sourcemaps to be processed and provided to the browser as needed
without the previously existing sourcemap URL comment. The removal is done without modifying the esbuild-
based builder's options to avoid assuming the builder used with the dev-server has sourcemap options that
allow hidden sourcemap generation.
2023-04-26 11:55:19 +00:00
..
2023-02-16 14:59:40 +00:00
2023-02-16 14:59:40 +00:00
2023-03-02 18:59:49 +00:00