Skip to content

Commit 114673f

Browse files
dgp1130jkrems
authored andcommitted
refactor: removes @angular/ssr/tokens and imports the symbols from @angular/core
Since the symbols are exposed from `@angular/core`, there is no need for a separate export in `@angular/ssr/tokens` anymore.
1 parent 4fcce7d commit 114673f

File tree

7 files changed

+8
-132
lines changed

7 files changed

+8
-132
lines changed

goldens/public-api/angular/ssr/tokens/index.api.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

packages/angular/ssr/BUILD.bazel

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ ts_library(
2020
tsconfig = "//:tsconfig-build-ng",
2121
deps = [
2222
"//packages/angular/ssr/third_party/beasties:bundled_beasties_lib",
23-
"//packages/angular/ssr/tokens",
2423
"@npm//@angular/common",
2524
"@npm//@angular/core",
2625
"@npm//@angular/platform-server",
@@ -39,7 +38,6 @@ ng_package(
3938
externals = [
4039
"@angular/ssr",
4140
"@angular/ssr/node",
42-
"@angular/ssr/tokens",
4341
"../../third_party/beasties",
4442
],
4543
nested_packages = [
@@ -49,7 +47,6 @@ ng_package(
4947
deps = [
5048
":ssr",
5149
"//packages/angular/ssr/node",
52-
"//packages/angular/ssr/tokens",
5350
],
5451
)
5552

packages/angular/ssr/src/app.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,14 @@
66
* found in the LICENSE file at https://angular.dev/license
77
*/
88

9-
import { LOCALE_ID, StaticProvider, ɵresetCompiledComponents } from '@angular/core';
10-
import { REQUEST, REQUEST_CONTEXT, RESPONSE_INIT } from '@angular/ssr/tokens';
9+
import {
10+
LOCALE_ID,
11+
REQUEST,
12+
REQUEST_CONTEXT,
13+
RESPONSE_INIT,
14+
StaticProvider,
15+
ɵresetCompiledComponents,
16+
} from '@angular/core';
1117
import { ServerAssets } from './assets';
1218
import { Hooks } from './hooks';
1319
import { getAngularAppManifest } from './manifest';

packages/angular/ssr/tokens/BUILD.bazel

Lines changed: 0 additions & 19 deletions
This file was deleted.

packages/angular/ssr/tokens/index.ts

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/angular/ssr/tokens/public_api.ts

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/angular/ssr/tokens/src/tokens.ts

Lines changed: 0 additions & 70 deletions
This file was deleted.

0 commit comments

Comments
 (0)