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

start-runner/webpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bb87b71 Β· Jul 22, 2017

History

38 Commits
Dec 31, 2016
Dec 31, 2016
Dec 31, 2016
Dec 30, 2016
Dec 31, 2016
Dec 31, 2016
Feb 8, 2016
Jul 22, 2017
Feb 20, 2016
Jul 22, 2017
Jul 22, 2017
Jul 22, 2017

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)