Update karma config to use webpack config.