{"action":"created","issue":{"url":"https://api.github.com/repos/css-modules/css-modules/issues/229","repository_url":"https://api.github.com/repos/css-modules/css-modules","labels_url":"https://api.github.com/repos/css-modules/css-modules/issues/229/labels{/name}","comments_url":"https://api.github.com/repos/css-modules/css-modules/issues/229/comments","events_url":"https://api.github.com/repos/css-modules/css-modules/issues/229/events","html_url":"https://github.com/css-modules/css-modules/issues/229","id":223648334,"number":229,"title":"Standardizing file extensions","user":{"login":"jonathanadler","id":3277080,"avatar_url":"https://avatars1.githubusercontent.com/u/3277080?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanadler","html_url":"https://github.com/jonathanadler","followers_url":"https://api.github.com/users/jonathanadler/followers","following_url":"https://api.github.com/users/jonathanadler/following{/other_user}","gists_url":"https://api.github.com/users/jonathanadler/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanadler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanadler/subscriptions","organizations_url":"https://api.github.com/users/jonathanadler/orgs","repos_url":"https://api.github.com/users/jonathanadler/repos","events_url":"https://api.github.com/users/jonathanadler/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanadler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2017-04-23T16:46:24Z","updated_at":"2017-05-25T07:58:20Z","closed_at":null,"body":"I would like to make a proposal and I would like to know what you all think.\r\nI wasn't 100% percent this is the place to suggest this, but I thought it might be a good place to start.\r\n\r\nCSS Modules are awesome. My team and I use it in all our projects.\r\nBut the lack of standardization, makes it hard, at times, especially when working with external packages.\r\n\r\nSo we use the extension: _*.icss_ to indicate that the file is used as a module.\r\n\r\nHowever, we mostly use less as our preprocessor, but also import packages that use sass (or scss).\r\nThis causes some problems with the way we load files.\r\n\r\nSo our suggestion is to create a standard for style files' extensions, which is:\r\n- files with the regular extensions (_*.css_, _*.less_, _*.sass_, _*.scss_, etc.) indicate a regular cascading style file which is not scoped.\r\n- In order to indicate that a file is used as a module, just add an _i_ before the extension (_*.icss_, _*.iless_, _*.isass_, _*.iscss_, etc.) - it could be something else of course...\r\n\r\nAnd of course, each file should be preprocessed with its \"natural\" preprocessor.\r\n\r\nIMHO, If this was a standard, that babel and webpack loaders could align with, our lives could become a bit easier :)\r\n\r\nI'd be glad to hear what you think.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/css-modules/css-modules/issues/comments/303948547","html_url":"https://github.com/css-modules/css-modules/issues/229#issuecomment-303948547","issue_url":"https://api.github.com/repos/css-modules/css-modules/issues/229","id":303948547,"user":{"login":"jonathanadler","id":3277080,"avatar_url":"https://avatars1.githubusercontent.com/u/3277080?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanadler","html_url":"https://github.com/jonathanadler","followers_url":"https://api.github.com/users/jonathanadler/followers","following_url":"https://api.github.com/users/jonathanadler/following{/other_user}","gists_url":"https://api.github.com/users/jonathanadler/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanadler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanadler/subscriptions","organizations_url":"https://api.github.com/users/jonathanadler/orgs","repos_url":"https://api.github.com/users/jonathanadler/repos","events_url":"https://api.github.com/users/jonathanadler/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanadler/received_events","type":"User","site_admin":false},"created_at":"2017-05-25T07:58:20Z","updated_at":"2017-05-25T07:58:20Z","body":"After going over the thread, you guys convinced me that adding ```.local.css``` or ```.module.css``` would be the best way to go, and not changing the file extension.\r\nRegarding both suggestions, I find that @ro-savage's suggestion ```.module.css``` will be more understood since it's quite straightforward.  ```local``` is a bit more ambiguous. "}}
{"actor":{"display_login":"jonathanadler"}}