2017-03-02 15:12:46 -05:00
|
|
|
/**
|
|
|
|
* @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
|
|
|
|
*/
|
|
|
|
|
2017-05-23 16:01:39 -04:00
|
|
|
import resolve from 'rollup-plugin-node-resolve';
|
|
|
|
|
|
|
|
const globals = {
|
|
|
|
'@angular/core': 'ng.core',
|
|
|
|
'@angular/core/testing': 'ng.core.testing',
|
|
|
|
'@angular/common': 'ng.common',
|
|
|
|
'@angular/compiler': 'ng.compiler',
|
|
|
|
'@angular/compiler/testing': 'ng.compiler.testing',
|
|
|
|
'@angular/platform-browser': 'ng.platformBrowser',
|
|
|
|
'@angular/platform-browser/testing': 'ng.platformBrowser.testing',
|
|
|
|
'@angular/platform-browser-dynamic': 'ng.platformBrowserDynamic'
|
|
|
|
};
|
|
|
|
|
2017-03-02 15:12:46 -05:00
|
|
|
export default {
|
2017-03-07 14:04:30 -05:00
|
|
|
entry:
|
|
|
|
'../../../dist/packages-dist/platform-browser-dynamic/@angular/platform-browser-dynamic/testing.es5.js',
|
2017-03-02 15:12:46 -05:00
|
|
|
dest:
|
|
|
|
'../../../dist/packages-dist/platform-browser-dynamic/bundles/platform-browser-dynamic-testing.umd.js',
|
|
|
|
format: 'umd',
|
2017-01-30 18:28:56 -05:00
|
|
|
exports: 'named',
|
2017-03-02 15:12:46 -05:00
|
|
|
moduleName: 'ng.platformBrowserDynamic.testing',
|
2017-05-23 16:01:39 -04:00
|
|
|
plugins: [resolve()],
|
|
|
|
external: Object.keys(globals),
|
|
|
|
globals: globals
|
2017-03-02 15:12:46 -05:00
|
|
|
};
|