Webpack

Provides Webpack support by dynamically generating a webpack.config.js config file.

yarn add @beemo/driver-webpack webpack webpack-cli

Requirements

  • Webpack ^4.0.0

Usage

In your configuration module, install the driver, Webpack, and any loaders or plugins. Create a file at configs/webpack.js or lib/configs/webpack.js in which to house your Webpack configuration.

In your consuming project, enable the driver by adding webpack to your drivers config.

{
"beemo": {
"module": "@<username>/dev-tools",
"drivers": ["webpack"]
}
}