0.3.0 • Published 7 years ago
start-webpack v0.3.0
start-webpack
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)
config
– webpack configstatsOptions
– webpack stats options,{ colors: true }
by default