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

Appearance settings

Commit 020527e

Browse filesBrowse files
clydinjkrems
authored andcommitted
fix(@angular/build): also disable outputMode in vitest unit-tests
Application defined entry points (`browser`/`server`) are disabled when using the experimental unit-test builder. This allows the unit test files themselves to become the entry points for testing purposes. Previously, the `outputMode` option was not also disabled. This lead to errors if it was present in the build target configuration used for `unit-test` due to the `outputMode` option requiring the `server` option.
1 parent 9bb7447 commit 020527e
Copy full SHA for 020527e

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
  • packages/angular/build/src/builders/unit-test
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

‎packages/angular/build/src/builders/unit-test/builder.ts

Copy file name to clipboardExpand all lines: packages/angular/build/src/builders/unit-test/builder.ts
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ export async function* execute(
122122
index: false,
123123
browser: undefined,
124124
server: undefined,
125+
outputMode: undefined,
125126
localize: false,
126127
budgets: [],
127128
serviceWorker: false,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.