{"action":"closed","issue":{"url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example/issues/202","labels_url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example/issues/202/labels{/name}","comments_url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example/issues/202/comments","events_url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example/issues/202/events","html_url":"https://github.com/erikras/react-redux-universal-hot-example/issues/202","id":107356448,"number":202,"title":"Adding webpack-less support.","user":{"login":"nicolabortignon","id":883459,"avatar_url":"https://avatars.githubusercontent.com/u/883459?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolabortignon","html_url":"https://github.com/nicolabortignon","followers_url":"https://api.github.com/users/nicolabortignon/followers","following_url":"https://api.github.com/users/nicolabortignon/following{/other_user}","gists_url":"https://api.github.com/users/nicolabortignon/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolabortignon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolabortignon/subscriptions","organizations_url":"https://api.github.com/users/nicolabortignon/orgs","repos_url":"https://api.github.com/users/nicolabortignon/repos","events_url":"https://api.github.com/users/nicolabortignon/events{/privacy}","received_events_url":"https://api.github.com/users/nicolabortignon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-09-19T21:14:32Z","updated_at":"2015-09-20T07:43:31Z","closed_at":"2015-09-20T07:43:31Z","body":"I'm trying to use less instead of sass.\r\n\r\nThat's what i did:\r\n\r\n1- installed less loader with:   npm install less-loader\r\n2- add  the selector in dev.config.js    \r\n```\r\n {\r\n      test: /\\.less$/,\r\n      loader: 'style!css!less'\r\n }\r\n```\r\n3-  In containers/App/App.js I replaced the request to App.sass with App.less.\r\n\r\n4- in the folder containers/App i created the file App.less that contains:\r\n\r\n```\r\nbody {\r\n  font-family: \"Helvetica Neue\", Helvetica, sans-serif;\r\n}\r\n```\r\n\r\nWhen I run npm run dev, everything bootstrap correctly, but when i visit the homepage I get this error:\r\n```\r\n[0] webpack built d2445eb12a4d02bf6be2 in 9603ms\r\n[1] ROUTER ERROR:   SyntaxError: /Users/bortignon/dev/react-redux-universal-hot-example/src/contai  ners/App/App.less: Unexpected token (1:5)\r\n[1]\r\n[1]   - > 1 | body {\r\n[1]\r\n[1]   - |      ^\r\n[1]\r\n[1]   - 2 |   font-family: \"Helvetica Neue\", Helvetica, sans-serif;\r\n[1]\r\n[1]   - 3 | }\r\n[1]\r\n[1]   - 4 |\r\n[1]\r\n[1]   - location.js:24 Parser.pp.raise\r\n[1]     [react-redux-universal-hot-example]/[babel-core]/[babylon]/lib/parser/locati    on.js:24:13\r\n[1]\r\n[1]   - util.js:82 Parser.pp.unexpected\r\n[1]     [react-redux-universal-hot-example]/[babel-core]/[babylon]/lib/parser/util.j    s:82:8\r\n[1]\r\n[1]   - util.js:69 Parser.pp.semicolon\r\n[1]     [react-redux-universal-hot-example]/[babel-core]/[babylon]/lib/parser/util.j    s:69:81\r\n[1]\r\n[1]   - statement.js:427 Parser.pp.parseExpressionStatement\r\n[1]     [react-redux-universal-hot-example]/[babel-core]/[babylon]/lib/parser/statem    ent.js:427:8\r\n[1]\r\n[1]   - flow.js:642 Parser.parseExpressionStatement\r\n[1]     [react-redux-universal-hot-example]/[babel-core]/[babylon]/lib/plugins/flow.    js:642:20\r\n[1]\r\n[1]   - statement.js:142 Parser.pp.parseStatement\r\n[1]     [react-redux-universal-hot-example]/[babel-core]/[babylon]/lib/parser/statem    ent.js:142:21\r\n[1]\r\n[1]   - flow.js:621 Parser.parseStatement\r\n[1]     [react-redux-universal-hot-example]/[babel-core]/[babylon]/lib/plugins/flow.    js:621:22\r\n[1]\r\n[1]   - statement.js:30 Parser.pp.parseTopLevel\r\n[1]     [react-redux-universal-hot-example]/[babel-core]/[babylon]/lib/parser/statem    ent.js:30:21\r\n[1]\r\n[1]   - index.js:70 Parser.parse\r\n[1]     [react-redux-universal-hot-example]/[babel-core]/[babylon]/lib/parser/index.    js:70:17\r\n[1]\r\n[1]   - index.js:45 Object.parse\r\n[1]     [react-redux-universal-hot-example]/[babel-core]/[babylon]/lib/index.js:45:5    0\r\n[1]\r\n[1]\r\n ```\r\n\r\nAm I missing something?  "}}