Difference between revisions of "AngularJS tooling"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(Module loader)
(Webpack)
Line 13: Line 13:
  
 
== Webpack ==
 
== Webpack ==
 +
 +
One of the most popular module loaders.
 +
 +
Allows any sort of file (JSON, CSS, etc.) to be imported as a [[AngularJS module|module]].
 +
 +
In addition to being useful for module loading, Webpack is also useful for the entire build process.
 +
 +
See [[Webpack]].
  
 
== ES6 ==
 
== ES6 ==

Revision as of 14:29, 31 December 2016

The AngularJS framework

Module loader

  • Not required, but recommended.
  • Load only what is needed
  • Provide namespacing
  • Don't need script tags

Modules provide translation between a module (file) and a pseudo module (wrapped function).

See AngularJS module.

Webpack

One of the most popular module loaders.

Allows any sort of file (JSON, CSS, etc.) to be imported as a module.

In addition to being useful for module loading, Webpack is also useful for the entire build process.

See Webpack.

ES6

ES5

TypeScript

Typings

See also