Skip to content

Commit bb183c2

Browse files
committed
Added links for new dependencies
1 parent e4ba665 commit bb183c2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

gulpfile.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
'use strict';
2-
31
var pkg = require('./package.json');
42
// https://github.com/gulpjs/gulp/blob/master/docs/README.md
53
var gulp = require('gulp');
64
// http://webpack.github.io/docs/
75
var webpack = require('webpack');
86
// https://github.com/shama/webpack-stream
97
var webpackStream = require('webpack-stream');
10-
//
8+
// https://github.com/dominictarr/event-stream
119
var es = require('event-stream');
10+
// https://github.com/justmoon/node-extend
1211
var extend = require('extend');
1312

1413
gulp.task(
@@ -52,6 +51,9 @@ gulp.task(
5251
.pipe(webpackStream(normalWebpackStream))
5352
.pipe(gulp.dest('./dist'));
5453

54+
/**
55+
* Deep copy the normalWebpackStream to customize it for the uglify stream
56+
*/
5557
var ulgifyWebpackStream = extend(true, {}, normalWebpackStream);
5658

5759
ulgifyWebpackStream.plugins.unshift(

0 commit comments

Comments
 (0)