From 8b9bd7f974b101b54736b20ecb1a8a77b19a848a Mon Sep 17 00:00:00 2001 From: Mohammad Kermani Date: Tue, 20 Sep 2016 09:26:42 -0700 Subject: [PATCH] Update browserify-uglify-sourcemap.md It is better for beginners to clarify the file (code) is inside gulpfile.js --- docs/recipes/browserify-uglify-sourcemap.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/recipes/browserify-uglify-sourcemap.md b/docs/recipes/browserify-uglify-sourcemap.md index 467792023..756b89ac3 100644 --- a/docs/recipes/browserify-uglify-sourcemap.md +++ b/docs/recipes/browserify-uglify-sourcemap.md @@ -4,7 +4,9 @@ tool but requires being wrapped before working well with gulp. Below is a simple recipe for using Browserify with full sourcemaps that resolve to the original individual files. -See also: the [Combining Streams to Handle Errors](https://github.com/gulpjs/gulp/blob/master/docs/recipes/combining-streams-to-handle-errors.md) recipe for handling errors with browserify or uglify in your stream. +See also: the [Combining Streams to Handle Errors](https://github.com/gulpjs/gulp/blob/master/docs/recipes/combining-streams-to-handle-errors.md) recipe for handling errors with browserify or uglify in your stream. + +A simple `gulpfile.js` file for Browserify + Uglify2 with sourcemaps: ``` javascript 'use strict';