Support for webpack 4

We updated our project to webpack 4 and now webdriver.io is crashing because this plugin is not supporting webpack 4. I hope it will we fixed soon.