Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a00a49a

Browse files
committed
feat(@angular-devkit/build-angular): add aot to WTR schema
1 parent c9273f8 commit a00a49a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

‎packages/angular_devkit/build_angular/src/builders/web-test-runner/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ async function buildTests(
100100
entryPoints,
101101
tsConfig: options.tsConfig,
102102
outputPath,
103-
aot: false,
103+
aot: options.aot,
104104
index: false,
105105
outputHashing: OutputHashing.None,
106106
optimization: false,

‎packages/angular_devkit/build_angular/src/builders/web-test-runner/schema.json‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,11 @@
249249
"webWorkerTsConfig": {
250250
"type": "string",
251251
"description": "TypeScript configuration for Web Worker modules."
252+
},
253+
"aot": {
254+
"type": "boolean",
255+
"description": "Run tests using Ahead of Time compilation.",
256+
"default": false
252257
}
253258
},
254259
"additionalProperties": false,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /