Skip to content

Commit 86ef92a

Browse files
committed
4fa5d18 feat(bazel): support bundling .d.ts with code splitting (#60321)
1 parent ebddacb commit 86ef92a

File tree

8 files changed

+79
-81
lines changed

8 files changed

+79
-81
lines changed

BUILD_INFO

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Tue Mar 11 18:39:27 UTC 2025
2-
8be6e3888b0d918f945fe4937353ce3cc1ec7f77
1+
Tue Mar 11 20:13:20 UTC 2025
2+
4fa5d18e5a57be03979b73be03a3d280c6dc0cb5

fesm2022/platform-browser-dynamic.mjs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/**
2-
* @license Angular v20.0.0-next.1+sha-8be6e38
2+
* @license Angular v20.0.0-next.1+sha-4fa5d18
33
* (c) 2010-2025 Google LLC. https://angular.io/
44
* License: MIT
55
*/
66

77
import * as i0 from '@angular/core';
8-
import { Injector, Compiler, ViewEncapsulation, createPlatformFactory, platformCore, COMPILER_OPTIONS, CompilerFactory, Injectable, PLATFORM_ID, Version } from '@angular/core';
8+
import { ViewEncapsulation, Injector, Compiler, createPlatformFactory, platformCore, COMPILER_OPTIONS, CompilerFactory, Injectable, PLATFORM_ID, Version } from '@angular/core';
99
import { CompilerConfig, ResourceLoader } from '@angular/compiler';
10-
import { ɵPLATFORM_BROWSER_ID } from '@angular/common';
11-
import { ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS } from '@angular/platform-browser';
10+
import { ɵPLATFORM_BROWSER_ID as _PLATFORM_BROWSER_ID } from '@angular/common';
11+
import { ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS as _INTERNAL_BROWSER_PLATFORM_PROVIDERS } from '@angular/platform-browser';
1212

1313
const COMPILER_PROVIDERS = [
1414
{ provide: Compiler, useFactory: () => new Compiler() },
@@ -113,24 +113,24 @@ class ResourceLoaderImpl extends ResourceLoader {
113113
xhr.send();
114114
return promise;
115115
}
116-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.1+sha-8be6e38", ngImport: i0, type: ResourceLoaderImpl, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
117-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.1+sha-8be6e38", ngImport: i0, type: ResourceLoaderImpl });
116+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.1+sha-4fa5d18", ngImport: i0, type: ResourceLoaderImpl, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
117+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.1+sha-4fa5d18", ngImport: i0, type: ResourceLoaderImpl });
118118
}
119-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1+sha-8be6e38", ngImport: i0, type: ResourceLoaderImpl, decorators: [{
119+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1+sha-4fa5d18", ngImport: i0, type: ResourceLoaderImpl, decorators: [{
120120
type: Injectable
121121
}] });
122122

123123
/**
124124
* @publicApi
125125
*/
126126
const INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS = [
127-
ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS,
127+
_INTERNAL_BROWSER_PLATFORM_PROVIDERS,
128128
{
129129
provide: COMPILER_OPTIONS,
130130
useValue: { providers: [{ provide: ResourceLoader, useClass: ResourceLoaderImpl, deps: [] }] },
131131
multi: true,
132132
},
133-
{ provide: PLATFORM_ID, useValue: ɵPLATFORM_BROWSER_ID },
133+
{ provide: PLATFORM_ID, useValue: _PLATFORM_BROWSER_ID },
134134
];
135135

136136
/**
@@ -141,7 +141,7 @@ const INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS = [
141141
/**
142142
* @publicApi
143143
*/
144-
const VERSION = new Version('20.0.0-next.1+sha-8be6e38');
144+
const VERSION = new Version('20.0.0-next.1+sha-4fa5d18');
145145

146146
/**
147147
* @publicApi

fesm2022/platform-browser-dynamic.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fesm2022/testing.mjs

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/**
2-
* @license Angular v20.0.0-next.1+sha-8be6e38
2+
* @license Angular v20.0.0-next.1+sha-4fa5d18
33
* (c) 2010-2025 Google LLC. https://angular.io/
44
* License: MIT
55
*/
66

7-
import { ɵgetDOM, DOCUMENT } from '@angular/common';
7+
import { ɵgetDOM as _getDOM, DOCUMENT } from '@angular/common';
88
import * as i0 from '@angular/core';
9-
import { Injectable, Inject, createPlatformFactory, NgModule } from '@angular/core';
9+
import { Inject, Injectable, createPlatformFactory, NgModule } from '@angular/core';
1010
import { TestComponentRenderer } from '@angular/core/testing';
11-
import { ɵplatformCoreDynamic, ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS } from '@angular/platform-browser-dynamic';
11+
import { ɵplatformCoreDynamic as _platformCoreDynamic, ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS as _INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS } from '@angular/platform-browser-dynamic';
1212
import { BrowserTestingModule } from '@angular/platform-browser/testing';
1313

1414
/**
@@ -22,7 +22,7 @@ class DOMTestComponentRenderer extends TestComponentRenderer {
2222
}
2323
insertRootElement(rootElId) {
2424
this.removeAllRootElementsImpl();
25-
const rootElement = ɵgetDOM().getDefaultDocument().createElement('div');
25+
const rootElement = _getDOM().getDefaultDocument().createElement('div');
2626
rootElement.setAttribute('id', rootElId);
2727
this._doc.body.appendChild(rootElement);
2828
}
@@ -39,13 +39,13 @@ class DOMTestComponentRenderer extends TestComponentRenderer {
3939
removeAllRootElementsImpl() {
4040
const oldRoots = this._doc.querySelectorAll('[id^=root]');
4141
for (let i = 0; i < oldRoots.length; i++) {
42-
ɵgetDOM().remove(oldRoots[i]);
42+
_getDOM().remove(oldRoots[i]);
4343
}
4444
}
45-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.1+sha-8be6e38", ngImport: i0, type: DOMTestComponentRenderer, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
46-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.1+sha-8be6e38", ngImport: i0, type: DOMTestComponentRenderer });
45+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.1+sha-4fa5d18", ngImport: i0, type: DOMTestComponentRenderer, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
46+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.1+sha-4fa5d18", ngImport: i0, type: DOMTestComponentRenderer });
4747
}
48-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1+sha-8be6e38", ngImport: i0, type: DOMTestComponentRenderer, decorators: [{
48+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1+sha-4fa5d18", ngImport: i0, type: DOMTestComponentRenderer, decorators: [{
4949
type: Injectable
5050
}], ctorParameters: () => [{ type: undefined, decorators: [{
5151
type: Inject,
@@ -57,23 +57,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1+sh
5757
*
5858
* @publicApi
5959
*/
60-
const platformCoreDynamicTesting = createPlatformFactory(ɵplatformCoreDynamic, 'coreDynamicTesting', []);
60+
const platformCoreDynamicTesting = createPlatformFactory(_platformCoreDynamic, 'coreDynamicTesting', []);
6161

6262
/**
6363
* @publicApi
6464
*/
65-
const platformBrowserDynamicTesting = createPlatformFactory(platformCoreDynamicTesting, 'browserDynamicTesting', ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);
65+
const platformBrowserDynamicTesting = createPlatformFactory(platformCoreDynamicTesting, 'browserDynamicTesting', _INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);
6666
/**
6767
* NgModule for testing.
6868
*
6969
* @publicApi
7070
*/
7171
class BrowserDynamicTestingModule {
72-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.1+sha-8be6e38", ngImport: i0, type: BrowserDynamicTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
73-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0-next.1+sha-8be6e38", ngImport: i0, type: BrowserDynamicTestingModule, exports: [BrowserTestingModule] });
74-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0-next.1+sha-8be6e38", ngImport: i0, type: BrowserDynamicTestingModule, providers: [{ provide: TestComponentRenderer, useClass: DOMTestComponentRenderer }], imports: [BrowserTestingModule] });
72+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.1+sha-4fa5d18", ngImport: i0, type: BrowserDynamicTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
73+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0-next.1+sha-4fa5d18", ngImport: i0, type: BrowserDynamicTestingModule, exports: [BrowserTestingModule] });
74+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0-next.1+sha-4fa5d18", ngImport: i0, type: BrowserDynamicTestingModule, providers: [{ provide: TestComponentRenderer, useClass: DOMTestComponentRenderer }], imports: [BrowserTestingModule] });
7575
}
76-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1+sha-8be6e38", ngImport: i0, type: BrowserDynamicTestingModule, decorators: [{
76+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1+sha-4fa5d18", ngImport: i0, type: BrowserDynamicTestingModule, decorators: [{
7777
type: NgModule,
7878
args: [{
7979
exports: [BrowserTestingModule],

fesm2022/testing.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)