text: // Configure the base path and map the different node packages.
  System.config({
    baseURL: '/base',
    paths: {
      'node:*': 'node_modules/*'
    },
    map: {
      'rxjs': 'node:rxjs',
      'tslib': 'node:tslib/tslib.js',
  
      // Angular specific mappings.
      '@angular/core': 'node:@angular/core/bundles/core.umd.js',
      '@angular/core/testing': 'node:@angular/core/bundles/core-testing.umd.js',
      '@angular/common': 'node:@angular/common/bundles/common.umd.js',
      '@angular/common/testing': 'node:@angular/common/bundles/common-testing.umd.js',
      '@angular/common/http': 'node:@angular/common/bundles/common-http.umd.js',
      '@angular/common/http/testing': 'node:@angular/common/bundles/common-http-testing.umd.js',
      '@angular/compiler': 'node:@angular/compiler/bundles/compiler.umd.js',
      '@angular/compiler/testing': 'node:@angular/compiler/bundles/compiler-testing.umd.js',
      '@angular/http': 'node:@angular/http/bundles/http.umd.js',
      '@angular/http/testing': 'node:@angular/http/bundles/http-testing.umd.js',
      '@angular/forms': 'node:@angular/forms/bundles/forms.umd.js',
      '@angular/forms/testing': 'node:@angular/forms/bundles/forms-testing.umd.js',
      '@angular/animations': 'node:@angular/animations/bundles/animations.umd.js',
      '@angular/animations/browser': 'node:@angular/animations/bundles/animations-browser.umd.js',
      '@angular/platform-browser/animations':
        'node:@angular/platform-browser/bundles/platform-browser-animations.umd',
      '@angular/platform-browser':
        'node:@angular/platform-browser/bundles/platform-browser.umd.js',
      '@angular/platform-browser/testing':
        'node:@angular/platform-browser/bundles/platform-browser-testing.umd.js',
      '@angular/platform-browser-dynamic':
        'node:@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js',
      '@angular/platform-browser-dynamic/testing':
        'node:@angular/platform-browser-dynamic/bundles/platform-browser-dynamic-testing.umd.js',
  
      '@angular/material/button': 'node:@angular/material/bundles/material-button.umd.js',
      '@angular/material/form-field': 'node:@angular/material/bundles/material-form-field.umd.js',
      '@angular/material/core': 'node:@angular/material/bundles/material-core.umd.js',
      '@angular/material/select': 'node:@angular/material/bundles/material-select.umd.js',
      '@angular/cdk': 'node:@angular/cdk/bundles/cdk.umd.js',
      '@angular/cdk/a11y': 'node:@angular/cdk/bundles/cdk-a11y.umd.js',
      '@angular/cdk/bidi': 'node:@angular/cdk/bundles/cdk-bidi.umd.js',
      '@angular/cdk/coercion': 'node:@angular/cdk/bundles/cdk-coercion.umd.js',
      '@angular/cdk/collections': 'node:@angular/cdk/bundles/cdk-collections.umd.js',
      '@angular/cdk/keycodes': 'node:@angular/cdk/bundles/cdk-keycodes.umd.js',
      '@angular/cdk/observers': 'node:@angular/cdk/bundles/cdk-observers.umd.js',
      '@angular/cdk/overlay': 'node:@angular/cdk/bundles/cdk-overlay.umd.js',
      '@angular/cdk/platform': 'node:@angular/cdk/bundles/cdk-platform.umd.js',
      '@angular/cdk/portal': 'node:@angular/cdk/bundles/cdk-portal.umd.js',
      '@angular/cdk/scrolling': 'node:@angular/cdk/bundles/cdk-scrolling.umd.js',
  
      // Path mappings for local packages that can be imported inside of tests.
      '@angular/flex-layout': 'dist/packages/flex-layout/index.js',
      '@angular/flex-layout/core': 'dist/packages/flex-layout/core/index.js',
      '@angular/flex-layout/extended': 'dist/packages/flex-layout/extended/index.js',
      '@angular/flex-layout/flex': 'dist/packages/flex-layout/flex/index.js',
      '@angular/flex-layout/grid': 'dist/packages/flex-layout/grid/index.js',
      '@angular/flex-layout/server': 'dist/packages/flex-layout/server/index.js',
    },
    packages: {
      // Thirdparty barrels.
      'rxjs': {main: 'index'},
      'rxjs/operators': {main: 'index'},
  
      // Set the default extension for the root package, because otherwise the demo-app can't
      // be built within the production mode. Due to missing file extensions.
      '.': {
        defaultExtension: 'js'
      }
    }
  });
  