UNPKG

d2recharts

Version:

data driven react components of echarts

14 lines (12 loc) 378 B
const gulp = require('gulp'); const gutil = require('gulp-util'); const webpack = require('webpack'); const webpackConf = require('../webpack.config'); gulp.task('pack', [/* 'eslint' */], () => { webpack(webpackConf, (err, stats) => { if (err) throw new gutil.PluginError('webpack', err); gutil.log('[webpack]', stats.toString({ colors: true })); }); });