webkit - How does packages become available on client in an angular project -


i started angular project , had different things make packages available on client. give examples different types of packages:

  • @angular: listed in package.json.
  • moment: listed in package.json , had import in angular-cli.json in scripts section "../node_modules/moment/min/moment.min.js",
  • simpl-schema: listed in package.json , had add types via dts-gen. @angular neithe included in angular-cli.json nor in index.html.

whats difference between moment , other 2 packages? why have include moment.js separately?


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -