Skip to content

Commit cd428d8

Browse files
author
Angular Builds
committed
fb41d18 fix(@angular-devkit/build-angular): fix webpack config transform for karma
1 parent 164b118 commit cd428d8

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"name": "@angular-devkit/build-angular",
3-
"version": "19.1.0-next.0+sha-b8b561d",
3+
"version": "19.1.0-next.0+sha-fb41d18",
44
"description": "Angular Webpack Build Facade",
55
"main": "src/index.js",
66
"typings": "src/index.d.ts",
77
"builders": "builders.json",
88
"dependencies": {
99
"@ampproject/remapping": "2.3.0",
10-
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#b8b561d",
11-
"@angular-devkit/build-webpack": "github:angular/angular-devkit-build-webpack-builds#b8b561d",
12-
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#b8b561d",
13-
"@angular/build": "github:angular/angular-build-builds#b8b561d",
10+
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#fb41d18",
11+
"@angular-devkit/build-webpack": "github:angular/angular-devkit-build-webpack-builds#fb41d18",
12+
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#fb41d18",
13+
"@angular/build": "github:angular/angular-build-builds#fb41d18",
1414
"@babel/core": "7.26.0",
1515
"@babel/generator": "7.26.3",
1616
"@babel/helper-annotate-as-pure": "7.25.9",
@@ -21,7 +21,7 @@
2121
"@babel/preset-env": "7.26.0",
2222
"@babel/runtime": "7.26.0",
2323
"@discoveryjs/json-ext": "0.6.3",
24-
"@ngtools/webpack": "github:angular/ngtools-webpack-builds#b8b561d",
24+
"@ngtools/webpack": "github:angular/ngtools-webpack-builds#fb41d18",
2525
"@vitejs/plugin-basic-ssl": "1.2.0",
2626
"ansi-colors": "4.1.3",
2727
"autoprefixer": "10.4.20",
@@ -70,7 +70,7 @@
7070
"@angular/localize": "^19.0.0 || ^19.1.0-next.0",
7171
"@angular/platform-server": "^19.0.0 || ^19.1.0-next.0",
7272
"@angular/service-worker": "^19.0.0 || ^19.1.0-next.0",
73-
"@angular/ssr": "github:angular/angular-ssr-builds#b8b561d",
73+
"@angular/ssr": "github:angular/angular-ssr-builds#fb41d18",
7474
"@web/test-runner": "^0.19.0",
7575
"browser-sync": "^3.0.2",
7676
"jest": "^29.5.0",
@@ -91,7 +91,7 @@
9191
"@angular/service-worker": {
9292
"optional": true
9393
},
94-
"@angular/ssr": "github:angular/angular-ssr-builds#b8b561d",
94+
"@angular/ssr": "github:angular/angular-ssr-builds#fb41d18",
9595
"@web/test-runner": {
9696
"optional": true
9797
},

src/builders/karma/browser_builder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const webpack_browser_config_1 = require("../../utils/webpack-browser-config");
4949
const schema_1 = require("../browser/schema");
5050
const find_tests_plugin_1 = require("./find-tests-plugin");
5151
function execute(options, context, karmaOptions, transforms = {}) {
52-
return (0, rxjs_1.from)(initializeBrowser(options, context)).pipe((0, rxjs_1.switchMap)(async ([karma, webpackConfig]) => {
52+
return (0, rxjs_1.from)(initializeBrowser(options, context, transforms.webpackConfiguration)).pipe((0, rxjs_1.switchMap)(async ([karma, webpackConfig]) => {
5353
const projectName = context.target?.project;
5454
if (!projectName) {
5555
throw new Error(`The 'karma' builder requires a target to be specified.`);

src/utils/normalize-cache.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
1010
exports.normalizeCacheOptions = normalizeCacheOptions;
1111
const node_path_1 = require("node:path");
1212
/** Version placeholder is replaced during the build process with actual package version */
13-
const VERSION = '19.1.0-next.0+sha-b8b561d';
13+
const VERSION = '19.1.0-next.0+sha-fb41d18';
1414
function hasCacheMetadata(value) {
1515
return (!!value &&
1616
typeof value === 'object' &&

uniqueId

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Thu Dec 05 2024 19:23:00 GMT+0000 (Coordinated Universal Time)
1+
Thu Dec 05 2024 19:29:03 GMT+0000 (Coordinated Universal Time)

0 commit comments

Comments
 (0)