Skip to content

Commit

Permalink
Version increment 0.1.2, gulp tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliotNB committed Nov 19, 2018
1 parent e6d1a4c commit 125ab54
Show file tree
Hide file tree
Showing 8 changed files with 1,852 additions and 1,760 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

https://github.com/elliotnb/observable-slim

Version 0.1.1
Version 0.1.2

Licensed under the MIT license:

Expand Down
6 changes: 4 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var gulp = require('gulp');
var uglify = require('gulp-uglify');
var uglify = require('gulp-uglify-es').default;
var gulpIf = require('gulp-if');
var useref = require('gulp-useref');
var rename = require('gulp-rename');
Expand All @@ -8,12 +8,14 @@ var chai = require('chai');
var babel = require('gulp-babel');
var eslint = require('gulp-eslint');
var istanbul = require('gulp-istanbul');
var gutil = require('gulp-util');

gulp.task('default', function(){
return gulp.src(['observable-slim.js'])
return gulp.src(['observable-slim.js','proxy.js'])
.pipe(useref())
// Minifies only if it's a JavaScript file
.pipe(uglify())
//.on('error', function (err) { gutil.log(gutil.colors.red('[Error]'), err.toString()); })
// Add .min to the minified filename
.pipe(rename({ suffix: '.min' }))
// Write it to the current directory
Expand Down
2 changes: 1 addition & 1 deletion observable-slim.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Observable Slim
* Version 0.1.1
* Version 0.1.2
* https://github.com/elliotnb/observable-slim
*
* Licensed under the MIT license:
Expand Down
2 changes: 1 addition & 1 deletion observable-slim.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 125ab54

Please sign in to comment.