Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
92ad03fc65 | |||
50dd2b193a | |||
fb3e693f2a | |||
92841c1715 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,6 +1,7 @@
|
||||
node_modules/
|
||||
.settings/
|
||||
.idea/
|
||||
npm-debug.log
|
||||
|
||||
ts/*.js
|
||||
ts/*.js.map
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "gulp-browser",
|
||||
"version": "0.0.16",
|
||||
"version": "0.0.18",
|
||||
"description": "browserify and other goodies for gulp",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
@ -28,7 +28,7 @@
|
||||
"dependencies": {
|
||||
"browserify": "12.0.1",
|
||||
"gulp-util": "3.0.7",
|
||||
"pushrocks": "1.0.23",
|
||||
"pushrocks": "1.0.24",
|
||||
"through2": "2.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -2,7 +2,7 @@
|
||||
module GulpBrowserBrowserify {
|
||||
export function init() {
|
||||
return function() {
|
||||
return through.obj((file, enc, cb) => { //this is the trough object that gets returned by gulpBrowser.browserify();
|
||||
return through.obj((file, enc, cb) => { //this is the through object that gets returned by gulpBrowser.browserify();
|
||||
var bundleCallback = function(err, bufferedContent) {
|
||||
if (Buffer.isBuffer(bufferedContent)){
|
||||
file.contents = bufferedContent;
|
||||
|
Reference in New Issue
Block a user