{"action":"created","issue":{"url":"https://api.github.com/repos/rollup/rollup/issues/166","labels_url":"https://api.github.com/repos/rollup/rollup/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/rollup/rollup/issues/166/comments","events_url":"https://api.github.com/repos/rollup/rollup/issues/166/events","html_url":"https://github.com/rollup/rollup/issues/166","id":109879603,"number":166,"title":"Issue importing es6 lodash module","user":{"login":"timshannon","id":1330485,"avatar_url":"https://avatars.githubusercontent.com/u/1330485?v=3","gravatar_id":"","url":"https://api.github.com/users/timshannon","html_url":"https://github.com/timshannon","followers_url":"https://api.github.com/users/timshannon/followers","following_url":"https://api.github.com/users/timshannon/following{/other_user}","gists_url":"https://api.github.com/users/timshannon/gists{/gist_id}","starred_url":"https://api.github.com/users/timshannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timshannon/subscriptions","organizations_url":"https://api.github.com/users/timshannon/orgs","repos_url":"https://api.github.com/users/timshannon/repos","events_url":"https://api.github.com/users/timshannon/events{/privacy}","received_events_url":"https://api.github.com/users/timshannon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-05T20:31:14Z","updated_at":"2015-10-05T21:29:54Z","closed_at":"2015-10-05T21:26:16Z","body":"I've been using the es6 version of lodash in my project for a while and I use it like this:\r\n\r\n```\r\nimport uniq from \"lib/lodash/array/uniq\";\r\n\r\n```\r\n\r\nIt's been working fine for a while now, but I just updated rollup and now I'm getting the following error:\r\n\r\n```\r\nCannot use indices of replaced characters as exclusion ranges\r\nError: Cannot use indices of replaced characters as exclusion ranges\r\n    at source/web/node_modules/gobble-rollup/node_modules/rollup/node_modules/magic-string/src/MagicString/index.js:119:12\r\n    at Array.map (native)\r\n    at MagicString.indent (source/web/node_modules/gobble-rollup/node_modules/rollup/node_modules/magic-string/src/MagicString/index.js:112:28)\r\n    at source/web/node_modules/gobble-rollup/node_modules/rollup/node_modules/magic-string/src/Bundle/index.js:155:19\r\n    at Array.forEach (native)\r\n    at Bundle$1.indent (source/web/node_modules/gobble-rollup/node_modules/rollup/node_modules/magic-string/src/Bundle/index.js:151:16)\r\n    at umd (source/web/node_modules/gobble-rollup/node_modules/rollup/src/finalisers/umd.js:56:4)\r\n    at Bundle.render (source/web/node_modules/gobble-rollup/node_modules/rollup/src/Bundle.js:179:17)\r\n    at Object.write (source/web/node_modules/gobble-rollup/node_modules/rollup/src/rollup.js:29:32)\r\n    at source/web/node_modules/gobble-rollup/index.js:13:17\r\n```\r\n\r\nI'll see if I can build something reproducible when I get a chance."},"comment":{"url":"https://api.github.com/repos/rollup/rollup/issues/comments/145673968","html_url":"https://github.com/rollup/rollup/issues/166#issuecomment-145673968","issue_url":"https://api.github.com/repos/rollup/rollup/issues/166","id":145673968,"user":{"login":"timshannon","id":1330485,"avatar_url":"https://avatars.githubusercontent.com/u/1330485?v=3","gravatar_id":"","url":"https://api.github.com/users/timshannon","html_url":"https://github.com/timshannon","followers_url":"https://api.github.com/users/timshannon/followers","following_url":"https://api.github.com/users/timshannon/following{/other_user}","gists_url":"https://api.github.com/users/timshannon/gists{/gist_id}","starred_url":"https://api.github.com/users/timshannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timshannon/subscriptions","organizations_url":"https://api.github.com/users/timshannon/orgs","repos_url":"https://api.github.com/users/timshannon/repos","events_url":"https://api.github.com/users/timshannon/events{/privacy}","received_events_url":"https://api.github.com/users/timshannon/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T21:29:54Z","updated_at":"2015-10-05T21:29:54Z","body":"Yep, it's working great for me now.\r\n\r\nThanks,"}}