Skip to content
This repository has been archived by the owner on Aug 19, 2019. It is now read-only.

start-runner/webpack

Repository files navigation

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)