C
C
cb77772022-03-28 10:07:38
Angular
cb7777, 2022-03-28 10:07:38

Angular 13 Webpack-dev-server how to return angular-dev-server?

Good day. Updated from Angular 9 to version 13, the default was angular cli (angular-dev-server), now webpack-dev-server is launched by default, and application compilation slowed down noticeably when changes were made to templates, components, everything is collected in a common main. js as in the build, and if an error occurs in the browser, it points to the main.js file, and not to the component itself, can I somehow return to what was previously used in version 9?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
cb7777, 2022-03-28
@cb7777

I found a solution, initially version 13 is launched in production mode, you need to edit angular.json to add development mode

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question