Skip to content

Commit

Permalink
[dist] Updated browser example. Moved browser example into new direct…
Browse files Browse the repository at this point in the history
…ory.
  • Loading branch information
Marak committed Sep 22, 2014
1 parent dfd9774 commit 2aa0098
Show file tree
Hide file tree
Showing 8 changed files with 6,848 additions and 98 deletions.
10 changes: 5 additions & 5 deletions build/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ gulp.task('browser-package', function() {
./build/faker.js
./build/faker.min.js
../examples/js/faker.js
../examples/js/faker.min.js
../examples/browser/js/faker.js
../examples/browser/js/faker.min.js
*/

Expand All @@ -46,12 +46,12 @@ gulp.task('browser-package', function() {
.pipe(browserified)
.pipe(rename('faker.js'))
.pipe(gulp.dest('build/'))
.pipe(gulp.dest('../examples/js'))
.pipe(gulp.dest('../examples/browser/js'))
.pipe(rename({ extname: ".min.js" }))
.pipe(uglify())
.pipe(gulp.dest('build/'))
.pipe(gulp.dest('../examples/js'))
.pipe(rename('../examples/js/faker.min.js'));
.pipe(gulp.dest('../examples/browser/js'))
.pipe(rename('../examples/browser/js/faker.min.js'));

});

Expand Down
Loading

0 comments on commit 2aa0098

Please sign in to comment.