build: fix paths to typings files so tsickle resolves imports correctly

Fixes #15080
This commit is contained in:
Jason Aden
2017-03-15 13:26:09 -07:00
committed by Chuck Jazdzewski
parent 0ab49d4cec
commit 410aa33005
60 changed files with 96 additions and 81 deletions

View File

@ -1,5 +1,5 @@
{
"typings": "../typings/static/index.d.ts",
"typings": "../static.d.ts",
"main": "../bundles/upgrade-static.umd.js",
"module": "../@angular/upgrade/static.es5.js",
"es2015": "../@angular/upgrade/static.js"

View File

@ -12,10 +12,10 @@
* Entry point for all public APIs of the upgrade/static package, allowing
* Angular 1 and Angular 2+ to run side by side in the same application.
*/
export {downgradeComponent} from '../src/common/downgrade_component';
export {downgradeInjectable} from '../src/common/downgrade_injectable';
export {VERSION} from '../src/common/version';
export {UpgradeComponent} from '../src/static/upgrade_component';
export {UpgradeModule} from '../src/static/upgrade_module';
export {downgradeComponent} from './src/common/downgrade_component';
export {downgradeInjectable} from './src/common/downgrade_injectable';
export {VERSION} from './src/common/version';
export {UpgradeComponent} from './src/static/upgrade_component';
export {UpgradeModule} from './src/static/upgrade_module';
// This file only re-exports content of the `src` folder. Keep it that way.

1
packages/upgrade/static/src Symbolic link
View File

@ -0,0 +1 @@
../src