From 8e45e7284be7042de0caa3e3b199da662c0c0984 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Westr=C3=B6m?= Date: Wed, 14 Jan 2015 00:05:58 +0100 Subject: [PATCH] Removed extraction of dagre-d3 Pending resolution of a issue with globals --- gulpfile.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 3bfe2c366..9b35dc3ce 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -71,22 +71,23 @@ gulp.task('less', function () { var browserify = require('gulp-browserify'); -var slim_ext_libs = [ - 'dagre-d3', - 'd3' -]; +//var slim_ext_libs = [ +// 'dagre-d3', +// 'd3' +//]; // Basic usage gulp.task('slimDist', function() { // Single entry point to browserify return gulp.src('src/main.js') - .pipe(browserify({standalone: 'mermaid'})) + .pipe(browserify()) + /*.pipe(browserify({standalone: 'mermaid'})) .on('prebundle', function(bundle) { // Keep these external for the slim version. slim_ext_libs.forEach(function(lib) { bundle.external(lib); }); - }) + })*/ .pipe(rename('mermaid.slim.js')) .pipe(gulp.dest('./dist/')) .pipe(uglify())