https://github.com/angular/angular
Raw File
Tip revision: e751a0a2bbde3f402908657c3b17505a68817154 authored by Alex Eagle on 28 February 2018, 23:17:30 UTC
docs: add changelog for 6.0.0-beta.6
Tip revision: e751a0a
rollup.config.js
/**
 * @license
 * Copyright Google Inc. All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */

const resolve = require('rollup-plugin-node-resolve');
const sourcemaps = require('rollup-plugin-sourcemaps');

const globals = {
  '@angular/core': 'ng.core',
  'rxjs/Observable': 'Rx',
  'rxjs/Subject': 'Rx',
};

module.exports = {
  entry: '../../../dist/packages-dist/core/esm5/testing.js',
  dest: '../../../dist/packages-dist/core/bundles/core-testing.umd.js',
  format: 'umd',
  exports: 'named',
  amd: {id: '@angular/core/testing'},
  moduleName: 'ng.core.testing',
  plugins: [resolve(), sourcemaps()],
  external: Object.keys(globals),
  globals: globals
};
back to top