WebdriverIO service that builds webpack bundles before running tests. Current stable version is 1.0.1, with webpack 1.x as a peer dependency. Allows bundling static assets via webpack and provides options for custom webpack configuration, driver-specific overrides, and logging. Designed for WebdriverIO v4 and earlier; does not support modern WebdriverIO or webpack versions.
npm install wdio-webpack-serviceNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to configure the webpack service in wdio.conf.js, specifying webpack config, driver overrides, and logging.
Consider alternatives like wdio-static-server-service or custom onPrepare hook.
Do not use with webpack 2+; use an alternative service.
Use the correct array format shown in the documentation.
npm install webpack@1 --save-dev
Downgrade to webpack 1.x or use a different service.