typescript - How does angular-cli@webpack work? -


i have used angular-cli systemjs , comfortable build process,test cases & component interaction.

recently upgraded angular-cli angular-cli@webpack.

but pretty confused following things:

  1. how webpack build process works?
  2. how can install third party libraries lodash,ng2-bootstrap etc webpack configuration cant see webpack.config.ts file.
  3. why not show bundle contains js files of application?
  4. i can see typescript files of application..why?

thanks in advance.

  1. when u run ng build build , output files dist folder
  2. just run npm install 'external-dependency' , you're go, import in files u need (and in app.module.ts)
  3. u need run ng build first, see 1
  4. see 1

Comments