{"action":"opened","issue":{"url":"https://api.github.com/repos/cyrilwanner/next-compose-plugins/issues/10","repository_url":"https://api.github.com/repos/cyrilwanner/next-compose-plugins","labels_url":"https://api.github.com/repos/cyrilwanner/next-compose-plugins/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/cyrilwanner/next-compose-plugins/issues/10/comments","events_url":"https://api.github.com/repos/cyrilwanner/next-compose-plugins/issues/10/events","html_url":"https://github.com/cyrilwanner/next-compose-plugins/issues/10","id":327080706,"number":10,"title":"Chained loaders, how to use?","user":{"login":"victorbueno","id":35776,"avatar_url":"https://avatars1.githubusercontent.com/u/35776?v=4","gravatar_id":"","url":"https://api.github.com/users/victorbueno","html_url":"https://github.com/victorbueno","followers_url":"https://api.github.com/users/victorbueno/followers","following_url":"https://api.github.com/users/victorbueno/following{/other_user}","gists_url":"https://api.github.com/users/victorbueno/gists{/gist_id}","starred_url":"https://api.github.com/users/victorbueno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victorbueno/subscriptions","organizations_url":"https://api.github.com/users/victorbueno/orgs","repos_url":"https://api.github.com/users/victorbueno/repos","events_url":"https://api.github.com/users/victorbueno/events{/privacy}","received_events_url":"https://api.github.com/users/victorbueno/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-28T17:04:37Z","updated_at":"2018-05-28T17:04:37Z","closed_at":null,"author_association":"NONE","body":"In my project, we neet both next-css and next-sass. I'm trying to configure them both with no success. Style.css do not receive the compilated styles. Here is my actual next.config.js\r\n\r\n```\r\nconst withPlugins = require('next-compose-plugins');\r\nconst nextConfig = {\r\n  webpack: (config) => {\r\n    config.node = {\r\n      fs: 'empty'\r\n    }\r\n\r\n    return config\r\n  }\r\n}\r\n\r\nconst withSass = require('@zeit/next-sass')\r\nconst withSassConfig = {\r\n  cssModules: true,\r\n  cssLoaderOptions: {\r\n    importLoaders: 1,\r\n    localIdentName: \"[local]___[hash:base64:5]\",\r\n  }\r\n}\r\n\r\nconst withCSS = require('@zeit/next-css')\r\nconst withCSSConfig = {\r\n  cssModules: true,\r\n  cssLoaderOptions: {\r\n    importLoaders: 1,\r\n    localIdentName: \"[local]___[hash:base64:5]\",\r\n  }\r\n}\r\n\r\nmodule.exports = withPlugins([\r\n  [withSass, withSassConfig], [withCSS, withCSSConfig]\r\n], nextConfig);\r\n```\r\n\r\nIn another github issue, they say this:\r\n\r\n```\r\nmodule.exports = withCSS(withSass({\r\n  webpack (config, options) {\r\n    config.module.rules.push({\r\n      test: /\\.(png|jpg|gif|svg|eot|ttf|woff|woff2)$/,\r\n      use: {\r\n        loader: 'url-loader',\r\n        options: {\r\n          limit: 100000\r\n        }\r\n      }\r\n    })\r\n\r\n    return config\r\n  }\r\n}))\r\n```\r\n\r\nI'm not finding a way to enable de same chaining option (withCSS(withSass()) in my configurations. Any ideas on how to configure it? Thanks in advance."}}
{"actor":{"display_login":"victorbueno"}}