Skip to content

Commit

Permalink
rollback karma-webpack to 4.0.0-rc.3
Browse files Browse the repository at this point in the history
There seems to be a regression with the colors property in stats merging
to the default karma-webpack config. The fix for rc5 is here:
codymikol/karma-webpack#376 but it returned in
4.0.2 it seems.

Rather than fix this we should wait til we move to webpack v5 and
karma-webpack v5 which won't have this issue ideally.
  • Loading branch information
westeezy committed Nov 11, 2021
1 parent 9c1a089 commit d553886
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions config/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,7 @@ export function getKarmaConfig(karma : Karma, cfg : Config) : KarmaConfig {

basePath: __dirname,

frameworks: [
'mocha',
'webpack'
],
frameworks: [ 'mocha' ],

client: {
captureConsole,
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "grumbler-scripts",
"version": "4.0.0-beta.5",
"version": "4.0.0-beta.8",
"description": "Javascript module template.",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -123,7 +123,7 @@
"karma-sinon-chai": "^2.0.2",
"karma-sourcemap-loader": "^0.3.7",
"karma-spec-reporter": "0.0.32",
"karma-webpack": "4.0.2",
"karma-webpack": "4.0.0-rc.3",
"mocha": "^9.1.3",
"node-cleanup": "^2.1.2",
"node-sass": "^4.13.1",
Expand Down

0 comments on commit d553886

Please sign in to comment.