{"action":"created","issue":{"url":"https://api.github.com/repos/TrySound/rollup-plugin-string/issues/16","repository_url":"https://api.github.com/repos/TrySound/rollup-plugin-string","labels_url":"https://api.github.com/repos/TrySound/rollup-plugin-string/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/TrySound/rollup-plugin-string/issues/16/comments","events_url":"https://api.github.com/repos/TrySound/rollup-plugin-string/issues/16/events","html_url":"https://github.com/TrySound/rollup-plugin-string/issues/16","id":478098163,"node_id":"MDU6SXNzdWU0NzgwOTgxNjM=","number":16,"title":"Probably bad \"main\" field","user":{"login":"guimard","id":47256,"node_id":"MDQ6VXNlcjQ3MjU2","avatar_url":"https://avatars1.githubusercontent.com/u/47256?v=4","gravatar_id":"","url":"https://api.github.com/users/guimard","html_url":"https://github.com/guimard","followers_url":"https://api.github.com/users/guimard/followers","following_url":"https://api.github.com/users/guimard/following{/other_user}","gists_url":"https://api.github.com/users/guimard/gists{/gist_id}","starred_url":"https://api.github.com/users/guimard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guimard/subscriptions","organizations_url":"https://api.github.com/users/guimard/orgs","repos_url":"https://api.github.com/users/guimard/repos","events_url":"https://api.github.com/users/guimard/events{/privacy}","received_events_url":"https://api.github.com/users/guimard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2019-08-07T19:22:29Z","updated_at":"2019-08-07T19:53:07Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\npackage.json \"main\" field points to `index.js`. This fails with node 10.15.2. I replaced this value by `dist/rollup-plugin-string.js` then it succeed. Am I wrong ?"},"comment":{"url":"https://api.github.com/repos/TrySound/rollup-plugin-string/issues/comments/519245044","html_url":"https://github.com/TrySound/rollup-plugin-string/issues/16#issuecomment-519245044","issue_url":"https://api.github.com/repos/TrySound/rollup-plugin-string/issues/16","id":519245044,"node_id":"MDEyOklzc3VlQ29tbWVudDUxOTI0NTA0NA==","user":{"login":"guimard","id":47256,"node_id":"MDQ6VXNlcjQ3MjU2","avatar_url":"https://avatars1.githubusercontent.com/u/47256?v=4","gravatar_id":"","url":"https://api.github.com/users/guimard","html_url":"https://github.com/guimard","followers_url":"https://api.github.com/users/guimard/followers","following_url":"https://api.github.com/users/guimard/following{/other_user}","gists_url":"https://api.github.com/users/guimard/gists{/gist_id}","starred_url":"https://api.github.com/users/guimard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guimard/subscriptions","organizations_url":"https://api.github.com/users/guimard/orgs","repos_url":"https://api.github.com/users/guimard/repos","events_url":"https://api.github.com/users/guimard/events{/privacy}","received_events_url":"https://api.github.com/users/guimard/received_events","type":"User","site_admin":false},"created_at":"2019-08-07T19:53:07Z","updated_at":"2019-08-07T19:53:07Z","author_association":"NONE","body":"```\r\nimport buble from 'rollup-plugin-buble';\r\n  \r\nvar pkg = require('./package.json');\r\n\r\nexport default {\r\n        entry: 'index.js',\r\n        plugins: [buble()],\r\n        targets: [\r\n                {\r\n                        format: 'cjs',\r\n                        dest: pkg['main']\r\n                },\r\n                {\r\n                        format: 'es6',\r\n                        dest: pkg['jsnext:main']\r\n                }\r\n        ]\r\n};\r\n```\r\nI packaged it for [Debian](https://www.debian.org)"}}
{"actor":{"display_login":"guimard"}}