codymikol / karma-webpack

Karma webpack Middleware
MIT License
829 stars 222 forks source link

fix(preprocess): auto fix missing webpack framework #471

Closed codymikol closed 3 years ago

codymikol commented 3 years ago
fix(preprocess): auto fix missing webpack framework

this is an issue that comes up often. As this is
something that karma-webpack needs to function,
we will automatically fix the configuration on
the fly and emit a warning that the change was
made.

Fixes N/A

This PR contains a:

Motivation / Use-Case

adding 'webpack' in the karma configuration is a new requirement in v5 that is often overlooked. as this is required and the plugin will not work without this, we will fix the configuration on the fly and emit a warning stating that the change was made.

Breaking Changes

N/A

Additional Info

N/A