Skip to content
This repository was archived by the owner on Feb 16, 2021. It is now read-only.

SystemJS Configuration

Víctor Oliva edited this page Oct 23, 2016 · 1 revision

If you are using a version of angular-cli that's still using SystemJS, you need to configure a few things to get things going:

1- Add the following line into the vendorNpmFiles list of the angular-cli-build.js file:

'ng2-interceptors/**/*.+(js|js.map)'

2- Add the following line into the map object of the src/system-config.ts file:

'ng2-interceptors': 'vendor/ng2-interceptors'

3- Add the following lines into the packages object of the src/system-config.ts file:

'ng2-interceptors': {
  main: 'index'
}
Clone this wiki locally