{"action":"closed","issue":{"url":"https://api.github.com/repos/jmreidy/grunt-browserify/issues/246","labels_url":"https://api.github.com/repos/jmreidy/grunt-browserify/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/jmreidy/grunt-browserify/issues/246/comments","events_url":"https://api.github.com/repos/jmreidy/grunt-browserify/issues/246/events","html_url":"https://github.com/jmreidy/grunt-browserify/issues/246","id":45789679,"number":246,"title":"Problem with multiple bundles","user":{"login":"blacksonic","id":602571,"avatar_url":"https://avatars.githubusercontent.com/u/602571?v=3","gravatar_id":"","url":"https://api.github.com/users/blacksonic","html_url":"https://github.com/blacksonic","followers_url":"https://api.github.com/users/blacksonic/followers","following_url":"https://api.github.com/users/blacksonic/following{/other_user}","gists_url":"https://api.github.com/users/blacksonic/gists{/gist_id}","starred_url":"https://api.github.com/users/blacksonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blacksonic/subscriptions","organizations_url":"https://api.github.com/users/blacksonic/orgs","repos_url":"https://api.github.com/users/blacksonic/repos","events_url":"https://api.github.com/users/blacksonic/events{/privacy}","received_events_url":"https://api.github.com/users/blacksonic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-10-14T19:25:20Z","updated_at":"2015-03-23T18:24:57Z","closed_at":"2015-03-23T18:24:57Z","body":"I want to put my vendor dependencies into another file as seen in the examples. The problem is that modules that depend on each other could not find the module they depend on. I get the error it does not find module underscore when included in an html. Here is my config:\r\n```\r\nvendor: {\r\n  src: [],\r\n  dest: 'dist/vendor.js',\r\n  options: {\r\n    require: ['jquery', 'underscore', 'backbone', 'backbone.marionette', 'vis']\r\n  }\r\n},\r\n\r\ndev: {\r\n  options: {\r\n    external: ['jquery', 'underscore', 'backbone', 'backbone.marionette', 'vis']\r\n  },\r\n  src: [\"public/app/marionette_shim.js\", \"public/app/main.js\"],\r\n  dest: \"dist/bundle.js\"\r\n}\r\n```\r\nI also made a repository for it: https://github.com/blacksonic/browsebone\r\nAfter running ```grunt browserify:dev``` and ```grunt browserify:vendor``` and running ```index.js``` I get the error: ``` Uncaught Error: Cannot find module '/home/blacksonic/workspace/browsebone/node_modules/underscore/underscore.js' ```"}}