Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Webpack in aspnetzero application #10728


User avatar
0
mahendra created

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version?
  • 8.2.0
  • What is your product type (Angular or MVC)?
  • Angular
  • What is product framework type (.net framework or .net core)?
  • .NetCore

Hi Experts,

We want to know that if Aspnetzero is using Webpack for bundling and minification ?

In the below aspnet zero documentation link: https://docs.aspnetzero.com/en/aspnet-core-angular/v7.2.0/Infrastructure-Angular-Bundling-Minifying-Compiling

We found below text :

AspNet Zero uses Gulp for bundling & minifying such dynamic script and style files.

We would like to know if webpack is supported in aspnetzero, if yes, then we would like to know how to implement it.

Thanks,


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

    Hi @mahendra

    Gulp is used only for minifying some styles loaded dynamically. Angular app uses Webpack for bundling the resources.

  • User Avatar
    0
    mahendra created

    Hi ismcagdas,

    Thanks for your response.

    We are using aspnetzero 8.2 version for our web application.Could you please confirm whether webpack is being used in this version also.

    Thanks,

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @mahendra

    AspNet Zero doesn't directly use WebPack and it is used indirectly by Angular itself. And, Angular is using webpack from the beginning. So, in your project Angular is using webpack as well.

    Thanks,