-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(plugin): v4.0.0 #315
Conversation
tapable
) && middleware (webpack-dev-middleware
)
Any word on when this is going to go in and 3.0.0 is going to get released? |
FYI,
|
+1 to question from @iclanton. Are there any issues that block review/merge? Or maybe need help to fix issues in order to deploy this update. |
I will release this under the |
@rynclark Could you do me a favor and split the commits this time with the following commit messages for the
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rynclark Thx, nice work! :P
package.json
Outdated
@@ -5,7 +5,7 @@ | |||
"description": "Use webpack with karma", | |||
"license": "MIT", | |||
"engines": { | |||
"node": ">= 4" | |||
"node": ">=6.11.5" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
>= 6.9.0
] | ||
} | ||
|
||
hooks.forEach(function(hook) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
function
is needed here to keep the context ? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think yes, as there is the second argument in line 150 which set this
for the callback. The plugin uses ES5 syntax, not ES6, so I think it is ok to use the function here.
tapable
) && middleware (webpack-dev-middleware
)
Are there changes which need to be done in order to release stable version? |
https://github.com/webpack-contrib/karma-webpack/milestone/1 |
@limonte thx. Is there a change that webpack-4 support will be released early? There are some issues which can take a lot of time, like issues related to performance. |
BREAKING CHANGE: requires `webpack >= v4.0.0`
BREAKING CHANGE: requires `node >= v6.9.0`
Released in npm i -D karma-webpack@next |
@michael-ciniawsky can you give any ETA for karma-webpack 4.0.0? |
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the current behavior? (You can also link to an open issue here)
Doesn't support webpack 4's new plugin system
What is the new behavior?
It supports webpack 4's new plugin system
Does this PR introduce a breaking change?
If this PR contains a breaking change, please describe the following...
webpack-dev-middleware
to latest, making node minimum version6.11.5
Fixes #314