0.3.0 • Published 7 years ago

start-webpack v0.3.0

Weekly downloads
6
License
MIT
Repository
github
Last release
7 years ago

start-webpack

npm linux build windows build coverage deps

Webpack 3 task for Start. You might also need start-webpack-dev-server.

Install

npm install --save-dev start-webpack
# or
yarn add --dev start-webpack

Usage

import Start from 'start';
import reporter from 'start-pretty-reporter';
import files from 'start-files';
import clean from 'start-clean';
import webpack from 'start-webpack';

const start = Start(reporter());

export const build = () => start(
  files('build/'),
  clean(),
  webpack(require('conf/webpack.build'))
);

See documentation for details.

Arguments

webpack(config, statsOptions)