Skip to content

Compatible libraries

claudio-silva edited this page Dec 31, 2014 · 2 revisions

Third-party code that was not written in a "build-enabled" way may fail to be built. Angular-builder is smart enough to support many different coding styles and, as such, is able to build many third-party libraries that were not written with angular-builder in mind.

But some libraries will, unfortunately, fail to build (unless the authors were willing to implement some changes to make them "build-enabled").

Standard AngularJS libraries

An automated test is provided for building the standard AngularJS libraries that are optional parts of the framework.

The libraries below were tested and they build successfully:

  • ngAnimate
  • ngCookies
  • ngResource
  • ngRoute
  • ngSanitize
  • ngTouch
  • ngLocale (the locale specific files, ex. angular-locale_en-iso)

angular-mocks is not compatible, but you shouldn't include it in a production/debug build, anyway.

Third-party libraries

For third-party libraries, your mileage will vary. I cannot guarantee compatibility will all angular code out there and, as such, recommend that you use angular-builder mainly for your own code and your own libraries.

Libraries currently tested

The following libraries were tested are are known to be 'build compatible'.
Test-cases are included in the /tests folder.

  • ui-router