mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 02:54:21 +08:00
feat(@angular-devkit/build-angular): expose buildWebpackConfig
method in KarmaBuilder
Closes #12447
This commit is contained in:
parent
edb84b340f
commit
7f0a7ce5df
@ -88,7 +88,7 @@ export class KarmaBuilder implements Builder<KarmaBuilderSchema> {
|
||||
root: getSystemPath(root),
|
||||
projectRoot: getSystemPath(projectRoot),
|
||||
options: options as NormalizedKarmaBuilderSchema,
|
||||
webpackConfig: this._buildWebpackConfig(root, projectRoot, sourceRoot, host,
|
||||
webpackConfig: this.buildWebpackConfig(root, projectRoot, sourceRoot, host,
|
||||
options as NormalizedKarmaBuilderSchema),
|
||||
// Pass onto Karma to emit BuildEvents.
|
||||
successCb: () => obs.next({ success: true }),
|
||||
@ -122,7 +122,7 @@ export class KarmaBuilder implements Builder<KarmaBuilderSchema> {
|
||||
);
|
||||
}
|
||||
|
||||
private _buildWebpackConfig(
|
||||
buildWebpackConfig(
|
||||
root: Path,
|
||||
projectRoot: Path,
|
||||
sourceRoot: Path | undefined,
|
||||
|
Loading…
x
Reference in New Issue
Block a user