What is dist folder in Angular application ? - Study24x7
Social learning Network
13 May 2022 04:10 PM study24x7 study24x7

What is dist folder in Angular application ?

study24x7
Write a comment
  • aditi arora

  • The dist folder is the build folder, and it contains all of the files and directories that can be hosted on a server. The dist folder contains your angular application's transpiled code in JavaScript format, as well as the required html and CSS files.

    The abbreviation dist refers to a directory where files can be stored that can be used directly by others without the requirement to compile or minify the source code that is being reused.

    Also, what is the purpose of ng serve? The following is taken directly from the documents: By using ng serve, the CLI can provide users with a live browser refresh experience. When you save a file, this will build the application and reload the browser with the newly compiled application. This is accomplished by hosting the app in memory and serving it through webpack-dev-server.

    See more

    Related Questions
    500+   more Questions to answer
    Most Related Articles