Webpack 3 task for Start. You might also need start-webpack-dev-server.
npm install --save-dev start-webpack
# or
yarn add --dev start-webpack
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.
webpack(config, statsOptions)
config
– webpack configstatsOptions
– webpack stats options,{ colors: true }
by default