{"action":"created","issue":{"url":"https://api.github.com/repos/Evercoder/rollup-plugin-css-bundle/issues/1","repository_url":"https://api.github.com/repos/Evercoder/rollup-plugin-css-bundle","labels_url":"https://api.github.com/repos/Evercoder/rollup-plugin-css-bundle/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Evercoder/rollup-plugin-css-bundle/issues/1/comments","events_url":"https://api.github.com/repos/Evercoder/rollup-plugin-css-bundle/issues/1/events","html_url":"https://github.com/Evercoder/rollup-plugin-css-bundle/issues/1","id":340314938,"node_id":"MDU6SXNzdWUzNDAzMTQ5Mzg=","number":1,"title":"TypeError: bundle.modules.indexOf is not a function","user":{"login":"mycarrysun","id":9121901,"node_id":"MDQ6VXNlcjkxMjE5MDE=","avatar_url":"https://avatars3.githubusercontent.com/u/9121901?v=4","gravatar_id":"","url":"https://api.github.com/users/mycarrysun","html_url":"https://github.com/mycarrysun","followers_url":"https://api.github.com/users/mycarrysun/followers","following_url":"https://api.github.com/users/mycarrysun/following{/other_user}","gists_url":"https://api.github.com/users/mycarrysun/gists{/gist_id}","starred_url":"https://api.github.com/users/mycarrysun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mycarrysun/subscriptions","organizations_url":"https://api.github.com/users/mycarrysun/orgs","repos_url":"https://api.github.com/users/mycarrysun/repos","events_url":"https://api.github.com/users/mycarrysun/events{/privacy}","received_events_url":"https://api.github.com/users/mycarrysun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-07-11T16:22:47Z","updated_at":"2018-07-11T17:53:46Z","closed_at":null,"author_association":"NONE","body":"I've got a pretty basic import structure right now for my css bundle - importing 3 files in the entry index.js\r\n```javascript\r\nimport './quasar.mat.css'\r\nimport './styles.styl'\r\nimport './styles.scss'\r\n```\r\nAnd here is my rollup config:\r\n```javascript\r\nimport autoprefixer from 'autoprefixer'\r\nimport postcss from 'postcss'\r\nimport copy from 'rollup-plugin-copy'\r\nimport url from 'postcss-url'\r\nimport cssbundle from 'rollup-plugin-css-bundle'\r\nimport postcssSyntax from 'postcss-syntax'\r\n\r\nexport default {\r\n  //...\r\n  plugins: [\r\n    cssbundle({\r\n      include: [\r\n        '**/*.css',\r\n        '**/*.styl',\r\n        '**/*.scss'\r\n      ],\r\n      exclude: [\r\n        'node_modules/**',\r\n        'dist/**',\r\n      ],\r\n      output: 'dist/styles.css',\r\n      transform: code => postcss([\r\n        autoprefixer,\r\n        url,\r\n      ]).process(code, {\r\n        syntax: postcssSyntax\r\n      })\r\n    }),\r\n  ]\r\n  //...\r\n}\r\n```\r\n\r\nError happening [here](https://github.com/Evercoder/rollup-plugin-css-bundle/blob/a52df8b8c3d6986585cd42c08c3e423627a56b08/src/index.js#L33)"},"comment":{"url":"https://api.github.com/repos/Evercoder/rollup-plugin-css-bundle/issues/comments/404256786","html_url":"https://github.com/Evercoder/rollup-plugin-css-bundle/issues/1#issuecomment-404256786","issue_url":"https://api.github.com/repos/Evercoder/rollup-plugin-css-bundle/issues/1","id":404256786,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDI1Njc4Ng==","user":{"login":"mycarrysun","id":9121901,"node_id":"MDQ6VXNlcjkxMjE5MDE=","avatar_url":"https://avatars3.githubusercontent.com/u/9121901?v=4","gravatar_id":"","url":"https://api.github.com/users/mycarrysun","html_url":"https://github.com/mycarrysun","followers_url":"https://api.github.com/users/mycarrysun/followers","following_url":"https://api.github.com/users/mycarrysun/following{/other_user}","gists_url":"https://api.github.com/users/mycarrysun/gists{/gist_id}","starred_url":"https://api.github.com/users/mycarrysun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mycarrysun/subscriptions","organizations_url":"https://api.github.com/users/mycarrysun/orgs","repos_url":"https://api.github.com/users/mycarrysun/repos","events_url":"https://api.github.com/users/mycarrysun/events{/privacy}","received_events_url":"https://api.github.com/users/mycarrysun/received_events","type":"User","site_admin":false},"created_at":"2018-07-11T17:53:46Z","updated_at":"2018-07-11T17:53:46Z","author_association":"NONE","body":"@danburzo weird...cause when I reverted to 0.59.4 it compiled correctly. Although I am now currently using dnjstrom's branch of rollup-plugin-postcss to achieve the same effect."}}
{"actor":{"display_login":"mycarrysun"}}