feat(router): add a provider making angular1/angular2 integration easier (#12769)
This commit is contained in:
20
modules/@angular/router/rollup-upgrade.config.js
Normal file
20
modules/@angular/router/rollup-upgrade.config.js
Normal file
@ -0,0 +1,20 @@
|
||||
/**
|
||||
* @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
|
||||
*/
|
||||
|
||||
export default {
|
||||
entry: '../../../dist/packages-dist/router/upgrade.js',
|
||||
dest: '../../../dist/packages-dist/router/bundles/router-upgrade.umd.js',
|
||||
format: 'umd',
|
||||
moduleName: 'ng.router.upgrade',
|
||||
globals: {
|
||||
'@angular/core': 'ng.core',
|
||||
'@angular/common': 'ng.common',
|
||||
'@angular/router': 'ng.router',
|
||||
'@angular/upgrade/static': 'ng.upgrade.static'
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user