question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add karma builder to custom-webpack

See original GitHub issue

To complete the picture there is a need to add custom-webpack:karma builder that would be an extension of build-angular:karma builder with an ability to customize webpack config.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
epaitzcommented, Oct 2, 2018

Yes please add the ability to use your custom webpack builder with a karma option. This is the best builder I have seen so far, and I very much want to use it, but without the Karma option I don’t see how I can. I am trying to learn from your code and add the Karma option on my own but this is my first time creating a custom builder. Thanks.

0reactions
epaitzcommented, Oct 6, 2018

Gladly.

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

I will check if your new KarmaBuilder will work for us on Monday. It worked for “ng build” but I am not sure how “ng test”, with your KaramBuilder, will work with AOT. I have some reading to do.

Read more comments on GitHub >

github_iconTop Results From Across the Web

angular-builders/custom-webpack - npm
Custom Webpack karma. Extended @angular-devkit/build-angular:karma builder that allows to specify additional webpack configuration (on top of ...
Read more >
Use a custom webpack configuration in your angular.json ...
In this post I want to show how you can use a custom webpack configuration ... npm install @angular-builders/custom-webpack --save-dev .
Read more >
Unit Testing Angular 11 + Karma + Pug - Stack Overflow
I've tried with: https://www.npmjs.com/package/@angular-builders/custom-webpack#custom-webpack-config-object · https:// ...
Read more >
@nrwl/angular:webpack-browser | Nx
To use a custom webpack configuration when building your Angular application, ... to ensure parts of your application stay within boundaries which you...
Read more >
TypeScript - webpack
npm install --save-dev typescript ts-loader ... Let's set up a configuration to support JSX and compile TypeScript down to ES5.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found