{"action":"created","issue":{"url":"https://api.github.com/repos/deepak1556/gulp-browserify/issues/83","labels_url":"https://api.github.com/repos/deepak1556/gulp-browserify/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/deepak1556/gulp-browserify/issues/83/comments","events_url":"https://api.github.com/repos/deepak1556/gulp-browserify/issues/83/events","html_url":"https://github.com/deepak1556/gulp-browserify/issues/83","id":72559252,"number":83,"title":"node_modules being included","user":{"login":"davidgilbertson","id":4443482,"avatar_url":"https://avatars.githubusercontent.com/u/4443482?v=3","gravatar_id":"","url":"https://api.github.com/users/davidgilbertson","html_url":"https://github.com/davidgilbertson","followers_url":"https://api.github.com/users/davidgilbertson/followers","following_url":"https://api.github.com/users/davidgilbertson/following{/other_user}","gists_url":"https://api.github.com/users/davidgilbertson/gists{/gist_id}","starred_url":"https://api.github.com/users/davidgilbertson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidgilbertson/subscriptions","organizations_url":"https://api.github.com/users/davidgilbertson/orgs","repos_url":"https://api.github.com/users/davidgilbertson/repos","events_url":"https://api.github.com/users/davidgilbertson/events{/privacy}","received_events_url":"https://api.github.com/users/davidgilbertson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-02T00:57:18Z","updated_at":"2015-05-02T09:27:09Z","closed_at":"2015-05-02T09:27:09Z","body":"I know this is no longer maintained, but I hope someone can help.\r\n\r\nI'm getting this message: `[BABEL] Note: The code generator has deoptimised the styling of \"g:/web/money-site/node_modules/jquery/dist/jquery.js\" as it exceeds the max of \"100KB\".` When running a gulp task using babelify.\r\n\r\nThe task is taking 40 seconds, I assume because it's going through node modules; I thought node_modules was ignored by default?\r\n\r\nThis is my gulp file:\r\n````javascript\r\nvar gulp = require('gulp');\r\nvar browserify = require('gulp-browserify');\r\nvar babelify = require('babelify');\r\nvar rename = require('gulp-rename');\r\n\r\ngulp.task('js', function() {\r\n    return gulp.src('app/client.js', { read: false })\r\n        .pipe( browserify({ extensions: ['.jsx'], transform: ['babelify'] }) )\r\n        .pipe( rename('main.js') )\r\n        .pipe( gulp.dest('dist/') )\r\n    ;\r\n});\r\n````\r\n\r\nThe owner of babelify says probably not an issue at their end: https://github.com/babel/babelify/issues/79\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/deepak1556/gulp-browserify/issues/comments/98339029","html_url":"https://github.com/deepak1556/gulp-browserify/issues/83#issuecomment-98339029","issue_url":"https://api.github.com/repos/deepak1556/gulp-browserify/issues/83","id":98339029,"user":{"login":"davidgilbertson","id":4443482,"avatar_url":"https://avatars.githubusercontent.com/u/4443482?v=3","gravatar_id":"","url":"https://api.github.com/users/davidgilbertson","html_url":"https://github.com/davidgilbertson","followers_url":"https://api.github.com/users/davidgilbertson/followers","following_url":"https://api.github.com/users/davidgilbertson/following{/other_user}","gists_url":"https://api.github.com/users/davidgilbertson/gists{/gist_id}","starred_url":"https://api.github.com/users/davidgilbertson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidgilbertson/subscriptions","organizations_url":"https://api.github.com/users/davidgilbertson/orgs","repos_url":"https://api.github.com/users/davidgilbertson/repos","events_url":"https://api.github.com/users/davidgilbertson/events{/privacy}","received_events_url":"https://api.github.com/users/davidgilbertson/received_events","type":"User","site_admin":false},"created_at":"2015-05-02T09:27:09Z","updated_at":"2015-05-02T09:27:09Z","body":"Thanks @barneycarroll. I've inherited a project using this setup and only discovered it wasn't maintained when I came to post the issue. In the end I used a similar recipe (but with babelify) to the one you linked to. As for ditching gulp: nope."}}