Skip to content

Commit

Permalink
ccdd268d7 refactor(@angular-devkit/build-angular): avoid double emit …
Browse files Browse the repository at this point in the history
…of TypeScript files in AOT with esbuild
  • Loading branch information
Angular Builds committed Sep 21, 2023
1 parent d752c2e commit 92adde9
Show file tree
Hide file tree
Showing 9 changed files with 155 additions and 19 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "@angular-devkit/build-angular",
"version": "17.0.0-next.5+sha-4e89c3c",
"version": "17.0.0-next.5+sha-ccdd268",
"description": "Angular Webpack Build Facade",
"main": "src/index.js",
"typings": "src/index.d.ts",
"builders": "builders.json",
"dependencies": {
"@ampproject/remapping": "2.2.1",
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#4e89c3cae",
"@angular-devkit/build-webpack": "github:angular/angular-devkit-build-webpack-builds#4e89c3cae",
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#4e89c3cae",
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#ccdd268d7",
"@angular-devkit/build-webpack": "github:angular/angular-devkit-build-webpack-builds#ccdd268d7",
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#ccdd268d7",
"@babel/core": "7.22.17",
"@babel/generator": "7.22.15",
"@babel/helper-annotate-as-pure": "7.22.5",
Expand All @@ -20,7 +20,7 @@
"@babel/preset-env": "7.22.15",
"@babel/runtime": "7.22.15",
"@discoveryjs/json-ext": "0.5.7",
"@ngtools/webpack": "github:angular/ngtools-webpack-builds#4e89c3cae",
"@ngtools/webpack": "github:angular/ngtools-webpack-builds#ccdd268d7",
"@vitejs/plugin-basic-ssl": "1.0.1",
"ansi-colors": "4.1.3",
"autoprefixer": "10.4.15",
Expand Down
1 change: 1 addition & 0 deletions src/tools/esbuild/angular/angular-host.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export interface AngularHostOptions {
sourceFileCache?: Map<string, ts.SourceFile>;
modifiedFiles?: Set<string>;
transformStylesheet(data: string, containingFile: string, stylesheetFile?: string): Promise<string | null>;
processWebWorker(workerFile: string, containingFile: string): string;
}
/**
* Patches in-place the `getSourceFiles` function on an instance of a TypeScript
Expand Down
2 changes: 1 addition & 1 deletion src/tools/esbuild/angular/angular-host.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 12 additions & 6 deletions src/tools/esbuild/angular/compilation/aot-compilation.js

Large diffs are not rendered by default.

Loading

0 comments on commit 92adde9

Please sign in to comment.