Base solution for your next web application
Open Closed

How to deploy the single JS or Html file of angular build #7764


User avatar
0
Cellofane_admin created

Hi Team,

i have some querries related to Angular application.

  1. How to deploy the single or splecifica file in angular application build ?

  2. Why nearly 12k+ plus js files creating while doing publish ?

  3. While doining the ng build or npm run publish, how to identify the file is related to particular TS/html file as if need patch deployment for UI ?


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

    Hi @

    #1: Because of Angulars moduled architecture, I guess it is not possible. #2: see https://support.aspnetzero.com/QA/Questions/7761 #3: Becasue of #1, you have to publish the entire app again.

    By the way, this is not specific to AspNet Zero, you can also try to search Angular's GitHub repository. You may find more accurate information.

  • User Avatar
    0
    Cellofane_admin created

    Thank you