{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/6037","repository_url":"https://api.github.com/repos/meteor/meteor","labels_url":"https://api.github.com/repos/meteor/meteor/issues/6037/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/6037/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/6037/events","html_url":"https://github.com/meteor/meteor/issues/6037","id":127403551,"number":6037,"title":"[1.3] Style files imports from node_modules","user":{"login":"juliancwirko","id":4427985,"avatar_url":"https://avatars.githubusercontent.com/u/4427985?v=3","gravatar_id":"","url":"https://api.github.com/users/juliancwirko","html_url":"https://github.com/juliancwirko","followers_url":"https://api.github.com/users/juliancwirko/followers","following_url":"https://api.github.com/users/juliancwirko/following{/other_user}","gists_url":"https://api.github.com/users/juliancwirko/gists{/gist_id}","starred_url":"https://api.github.com/users/juliancwirko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliancwirko/subscriptions","organizations_url":"https://api.github.com/users/juliancwirko/orgs","repos_url":"https://api.github.com/users/juliancwirko/repos","events_url":"https://api.github.com/users/juliancwirko/events{/privacy}","received_events_url":"https://api.github.com/users/juliancwirko/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/meteor/meteor/labels/feature","name":"feature","color":"02d7e1"},{"url":"https://api.github.com/repos/meteor/meteor/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"benjamn","id":5750,"avatar_url":"https://avatars.githubusercontent.com/u/5750?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamn","html_url":"https://github.com/benjamn","followers_url":"https://api.github.com/users/benjamn/followers","following_url":"https://api.github.com/users/benjamn/following{/other_user}","gists_url":"https://api.github.com/users/benjamn/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamn/subscriptions","organizations_url":"https://api.github.com/users/benjamn/orgs","repos_url":"https://api.github.com/users/benjamn/repos","events_url":"https://api.github.com/users/benjamn/events{/privacy}","received_events_url":"https://api.github.com/users/benjamn/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/meteor/meteor/milestones/10","html_url":"https://github.com/meteor/meteor/milestones/Release%201.3.x","labels_url":"https://api.github.com/repos/meteor/meteor/milestones/10/labels","id":1672933,"number":10,"title":"Release 1.3.x","description":"The current minor release after 1.3.","creator":{"login":"zol","id":81672,"avatar_url":"https://avatars.githubusercontent.com/u/81672?v=3","gravatar_id":"","url":"https://api.github.com/users/zol","html_url":"https://github.com/zol","followers_url":"https://api.github.com/users/zol/followers","following_url":"https://api.github.com/users/zol/following{/other_user}","gists_url":"https://api.github.com/users/zol/gists{/gist_id}","starred_url":"https://api.github.com/users/zol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zol/subscriptions","organizations_url":"https://api.github.com/users/zol/orgs","repos_url":"https://api.github.com/users/zol/repos","events_url":"https://api.github.com/users/zol/events{/privacy}","received_events_url":"https://api.github.com/users/zol/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":4,"state":"open","created_at":"2016-03-29T22:32:27Z","updated_at":"2016-04-08T15:39:47Z","due_on":null,"closed_at":null},"comments":51,"created_at":"2016-01-19T09:32:40Z","updated_at":"2016-04-08T17:25:13Z","closed_at":null,"body":"How to import .scss files located in the installed npm package (in node_modules). For example I do:\r\n```\r\nnpm install foundation-sites --save\r\n```\r\nAnd now I want to import `.scss` files from `node_modules/foundation-sites` \r\nI mean something like (in main.scss in the app):\r\n```\r\n@import 'foundation-sites/scss/foundation.scss';\r\n```\r\nI've tried many combinations, like `{}/node_modules/foundation-sites...` , `{}/foundation-sites...`, `/node_modules/foundation-sites...`, etc.\r\n\r\nNothing works with `fourseven:scss`. \r\n\r\nDo we have a solution for this in Meteor 1.3? I gues that `node_modules` is ignored so .scss compiler doesn't see the files. I think this is the use case when compiler should see node_modules folder."},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/207525651","html_url":"https://github.com/meteor/meteor/issues/6037#issuecomment-207525651","issue_url":"https://api.github.com/repos/meteor/meteor/issues/6037","id":207525651,"user":{"login":"benjamn","id":5750,"avatar_url":"https://avatars.githubusercontent.com/u/5750?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamn","html_url":"https://github.com/benjamn","followers_url":"https://api.github.com/users/benjamn/followers","following_url":"https://api.github.com/users/benjamn/following{/other_user}","gists_url":"https://api.github.com/users/benjamn/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamn/subscriptions","organizations_url":"https://api.github.com/users/benjamn/orgs","repos_url":"https://api.github.com/users/benjamn/repos","events_url":"https://api.github.com/users/benjamn/events{/privacy}","received_events_url":"https://api.github.com/users/benjamn/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T17:25:13Z","updated_at":"2016-04-08T17:25:13Z","body":"The current plan is to treat `node_modules` directories exactly like `imports` directories, from the perspective of CSS preprocessor plugins. In other words, however you would have imported a (lazy) `.less` or `.scss` file from an `imports` directory, you can do the same with a file contained by a `node_modules` directory.\r\n\r\nThis doesn't rule out the possibility that importing behavior needs to be improved in general, but I'm trying to avoid multiplying concepts, given that folks already know how `imports` directories work.\r\n\r\nDoes that make sense?"}}