{"action":"created","issue":{"url":"https://api.github.com/repos/shama/stylus-loader/issues/69","repository_url":"https://api.github.com/repos/shama/stylus-loader","labels_url":"https://api.github.com/repos/shama/stylus-loader/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/shama/stylus-loader/issues/69/comments","events_url":"https://api.github.com/repos/shama/stylus-loader/issues/69/events","html_url":"https://github.com/shama/stylus-loader/issues/69","id":105813518,"number":69,"title":"Webpack silent failure since 1.3.0","user":{"login":"nicgordon","id":2223986,"avatar_url":"https://avatars.githubusercontent.com/u/2223986?v=3","gravatar_id":"","url":"https://api.github.com/users/nicgordon","html_url":"https://github.com/nicgordon","followers_url":"https://api.github.com/users/nicgordon/followers","following_url":"https://api.github.com/users/nicgordon/following{/other_user}","gists_url":"https://api.github.com/users/nicgordon/gists{/gist_id}","starred_url":"https://api.github.com/users/nicgordon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicgordon/subscriptions","organizations_url":"https://api.github.com/users/nicgordon/orgs","repos_url":"https://api.github.com/users/nicgordon/repos","events_url":"https://api.github.com/users/nicgordon/events{/privacy}","received_events_url":"https://api.github.com/users/nicgordon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2015-09-10T14:06:20Z","updated_at":"2016-09-14T17:47:09Z","closed_at":"2015-09-14T14:02:58Z","body":"Prior to 1.3.0 the stylus property in our webpack config looked like this:\r\n\r\n```\r\nstylus: {\r\n  use: [\r\n    require('nib')(),\r\n    require('rupture')(),\r\n  ],\r\n  import: [\r\n    'nib',\r\n    'rupture',\r\n    path.join(constants.APP_DIR, '/application/colors.styl'),\r\n    path.join(constants.APP_DIR, '/elements/grid/variables.styl'),\r\n  ],\r\n}\r\n```\r\n\r\nThis is actually a bit off topic, but what is the `use` array even doing here? If we don't include the `nib` and `rupture` libraries in the `import` section then our styles don't compile properly. If we remove the `use` property altogether there seems to be no difference.\r\n\r\nAnyway, as of 1.3.0 that config causes webpack to just stop processing at one point and no errors are thrown. In order to get webpack building successfully our stylus config now has to look like this:\r\n\r\n```\r\nstylus: {\r\n  import: [\r\n    path.join(constants.ROOT_DIR, 'node_modules/nib/lib/nib/index.styl'),\r\n    path.join(constants.ROOT_DIR, 'node_modules/rupture/rupture/index.styl'),\r\n    path.join(constants.APP_DIR, '/application/colors.styl'),\r\n    path.join(constants.APP_DIR, '/elements/grid/variables.styl'),\r\n  ],\r\n}\r\n```\r\n\r\nNote that we have to explicitly reference the location of the `nib` and `rupture` library entry points. Just using `'nib'` and `'rupture'` as we used to do results in webpack silently failing. Could anyone shed any light on what might be causing this, and perhaps what my config ought to look like? Thank you."},"comment":{"url":"https://api.github.com/repos/shama/stylus-loader/issues/comments/247097368","html_url":"https://github.com/shama/stylus-loader/issues/69#issuecomment-247097368","issue_url":"https://api.github.com/repos/shama/stylus-loader/issues/69","id":247097368,"user":{"login":"guilhermedecampo","id":4806269,"avatar_url":"https://avatars.githubusercontent.com/u/4806269?v=3","gravatar_id":"","url":"https://api.github.com/users/guilhermedecampo","html_url":"https://github.com/guilhermedecampo","followers_url":"https://api.github.com/users/guilhermedecampo/followers","following_url":"https://api.github.com/users/guilhermedecampo/following{/other_user}","gists_url":"https://api.github.com/users/guilhermedecampo/gists{/gist_id}","starred_url":"https://api.github.com/users/guilhermedecampo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guilhermedecampo/subscriptions","organizations_url":"https://api.github.com/users/guilhermedecampo/orgs","repos_url":"https://api.github.com/users/guilhermedecampo/repos","events_url":"https://api.github.com/users/guilhermedecampo/events{/privacy}","received_events_url":"https://api.github.com/users/guilhermedecampo/received_events","type":"User","site_admin":false},"created_at":"2016-09-14T17:47:08Z","updated_at":"2016-09-14T17:47:08Z","body":"nice @gabrielfurini, thanks for answering here.\r\n\r\nFor next projects going to take this in consideration!"}}
{"actor":{"display_login":"guilhermedecampo"}}