{"action":"created","issue":{"url":"https://api.github.com/repos/postcss/postcss-import/issues/118","labels_url":"https://api.github.com/repos/postcss/postcss-import/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/postcss/postcss-import/issues/118/comments","events_url":"https://api.github.com/repos/postcss/postcss-import/issues/118/events","html_url":"https://github.com/postcss/postcss-import/issues/118","id":123760581,"number":118,"title":"failed to build again in webpack process.","user":{"login":"bjmin","id":5073227,"avatar_url":"https://avatars.githubusercontent.com/u/5073227?v=3","gravatar_id":"","url":"https://api.github.com/users/bjmin","html_url":"https://github.com/bjmin","followers_url":"https://api.github.com/users/bjmin/followers","following_url":"https://api.github.com/users/bjmin/following{/other_user}","gists_url":"https://api.github.com/users/bjmin/gists{/gist_id}","starred_url":"https://api.github.com/users/bjmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjmin/subscriptions","organizations_url":"https://api.github.com/users/bjmin/orgs","repos_url":"https://api.github.com/users/bjmin/repos","events_url":"https://api.github.com/users/bjmin/events{/privacy}","received_events_url":"https://api.github.com/users/bjmin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-24T05:36:09Z","updated_at":"2015-12-24T08:57:01Z","closed_at":"2015-12-24T07:33:35Z","body":"I use postcss-import in webpack, but it will be failed once compile an error file, though I'm not very sure the ERROR is caused by postcss-import.\r\n\r\nhere is the log:\r\n```\r\nERROR in ./~/css-loader!./~/postcss-loader!./example/app.css\r\npostcss-import: /Users/bjmin/Documents/repo/github/iconist/master/example/style/header.css:10:52: Missed semicolon\r\n  color: $white;\r\n  text-shadow: .025em .025em 0 $red, .05em .05em 0 $kal\r\n                                                   ^\r\nERROR in ./~/css-loader!./~/postcss-loader!./example/app.css\r\nModule build failed: TypeError: Cannot read property 'toString' of undefined\r\n  at new Input (/Users/bjmin/Documents/repo/github/iconist/master/node_modules/postcss/lib/input.js:31:23)\r\n  at parse (/Users/bjmin/Documents/repo/github/iconist/master/node_modules/postcss/lib/parse.js:22:17)\r\n  at new LazyResult (/Users/bjmin/Documents/repo/github/iconist/master/node_modules/postcss/lib/lazy-result.js:61:24)\r\n  at Processor.process (/Users/bjmin/Documents/repo/github/iconist/master/node_modules/postcss/lib/processor.js:38:16)\r\n  at processCss (/Users/bjmin/Documents/repo/github/iconist/master/node_modules/css-loader/lib/processCss.js:171:11)\r\n  at Object.module.exports (/Users/bjmin/Documents/repo/github/iconist/master/node_modules/css-loader/lib/loader.js:24:2)\r\n @ ./example/app.css 4:14-116 13:2-17:4 14:20-122\r\n```\r\n\r\ncaused by this line:\r\n```\r\n@import './colors.css';\r\n\r\nheader {\r\n\r\n  height: 300px;\r\n  width: 100%;\r\n\r\n  background: $red;\r\n  color: $white;\r\n  text-shadow: .025em .025em 0 $red, .05em .05em 0 $kal <<<<<<<\r\n\r\n  font-size: 8em;\r\n\r\n  cursor: default;\r\n  user-select: none;\r\n\r\n}\r\n```\r\n\r\nbut after fix it, the webpack won't compile agian until I trigger save event in main file which import the error partial file.\r\n\r\nhere is my webpack config:\r\n```coffeescript\r\n  postcss: (bundler) ->\r\n\r\n    plugins = [\r\n      postcssImport addDependencyTo: bundler\r\n      postcssNested\r\n      postcssSimpleVars\r\n      postcssUrl\r\n      autoprefixer AUTOPREFIXER_OPTIONS\r\n    ]\r\n\r\n    if PROD\r\n      plugins = plugins.concat [\r\n        cssnano CSSNANO_OPTIONS\r\n      ]\r\n\r\n    plugins\r\n```"},"comment":{"url":"https://api.github.com/repos/postcss/postcss-import/issues/comments/167071145","html_url":"https://github.com/postcss/postcss-import/issues/118#issuecomment-167071145","issue_url":"https://api.github.com/repos/postcss/postcss-import/issues/118","id":167071145,"user":{"login":"bjmin","id":5073227,"avatar_url":"https://avatars.githubusercontent.com/u/5073227?v=3","gravatar_id":"","url":"https://api.github.com/users/bjmin","html_url":"https://github.com/bjmin","followers_url":"https://api.github.com/users/bjmin/followers","following_url":"https://api.github.com/users/bjmin/following{/other_user}","gists_url":"https://api.github.com/users/bjmin/gists{/gist_id}","starred_url":"https://api.github.com/users/bjmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjmin/subscriptions","organizations_url":"https://api.github.com/users/bjmin/orgs","repos_url":"https://api.github.com/users/bjmin/repos","events_url":"https://api.github.com/users/bjmin/events{/privacy}","received_events_url":"https://api.github.com/users/bjmin/received_events","type":"User","site_admin":false},"created_at":"2015-12-24T08:57:01Z","updated_at":"2015-12-24T08:57:01Z","body":"I cannot find any mistake on my config... but thx~"}}