Skip to content

Why is the buildWebpackConfig() method private in the KarmaBuilder class? #12447

Closed
@epaitz

Description

@epaitz

Bug Report or Feature Request (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request

Command (mark with an x)

- [ ] new
- [ ] build
- [ ] serve
- [X] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Versions

Angular 6 CLI (6.1.0)

Why is the buildWebpackConfig() method marked as private in the KarmaBuilder found in (angular-cli/packages/angular_devkit/build_angular/src/karma/index.ts)? Is this by design or a mistake? I am trying to create a custom webpack builder, similar to https://github.com/meltedspark/angular-builders/tree/master/packages/custom-webpack. This project extends the BrowserBuilder and overrides its buildWebpackConfig() method. Is the same suppose to be possible for the KarmaBuilder class too? … or is there another way we should be extending the KarmaBuilder?

Thanks,

-eric

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions