152d99eef0
AngularJS's `$location` service doesn't have a direct counterpart in Angular. This is largely because the `Location` service in Angular was pulled out of the `Router`, but was not purpose-built to stand on its own. This commit adds a new `@angular/common/upgrade` package with the beginnings of a new `LocationUpgradeService`. This service will more closely match the API of AngularJS and provide a way to replace the `$location` service from AngularJS. PR Close #30055
32 lines
778 B
JSON
32 lines
778 B
JSON
{
|
|
"extends": "../tsconfig-build.json",
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"rootDir": "../",
|
|
"paths": {
|
|
"@angular/common": [
|
|
"../../../dist/packages/common"
|
|
],
|
|
"@angular/core": [
|
|
"../../../dist/packages/core"
|
|
],
|
|
"@angular/platform-browser": [
|
|
"../../../dist/packages/platform-browser"
|
|
],
|
|
"@angular/upgrade/static": [
|
|
"../../../dist/packages/upgrade/static"
|
|
]
|
|
},
|
|
"outDir": "../../../dist/packages/common"
|
|
},
|
|
"files": [
|
|
"public_api.ts"
|
|
],
|
|
"angularCompilerOptions": {
|
|
"annotateForClosureCompiler": true,
|
|
"strictMetadataEmit": false,
|
|
"skipTemplateCodegen": true,
|
|
"flatModuleOutFile": "upgrade.js",
|
|
"flatModuleId": "@angular/common/upgrade"
|
|
}
|
|
} |