Base solution for your next web application
Open Closed

Disable Webpack in Angular2 Project #2436


User avatar
0
paymanrowhani created

Hi,

After every single change it takes some time until webpack packs the bundle again so I can test the angular 2 project. Is there any more efficient way for development to see the changes faster?

Thanks, Payman


2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    We use angular-cli for building the angular2 project and it uses webpack internally. Unfortunately, angular-cli does not allow to modify webpack configuration.

    But, I have read some comments on angular-cli and it seems like they have made some performance improvements for the latest versions. We will upgrade to latest angular-cli in a few days, please follow this issue <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/45">https://github.com/aspnetzero/aspnet-ze ... /issues/45</a> and see if it fixes your problem in the next couple of days.

    Thanks.

  • User Avatar
    0
    paymanrowhani created

    Thank you so much.

    Payman