UNPKG

xml-lite

Version:

maintaining xml in pure javascript (IN BOTH NODE.JS & BROWSERS)

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 })); }); });