{"action":"created","issue":{"url":"https://api.github.com/repos/vuejs/vue-cli/issues/1782","repository_url":"https://api.github.com/repos/vuejs/vue-cli","labels_url":"https://api.github.com/repos/vuejs/vue-cli/issues/1782/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue-cli/issues/1782/comments","events_url":"https://api.github.com/repos/vuejs/vue-cli/issues/1782/events","html_url":"https://github.com/vuejs/vue-cli/issues/1782","id":339108030,"node_id":"MDU6SXNzdWUzMzkxMDgwMzA=","number":1782,"title":"Dart Sass support as a stylesheet preprocessor option","user":{"login":"rayfoss","id":876076,"node_id":"MDQ6VXNlcjg3NjA3Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/876076?v=4","gravatar_id":"","url":"https://api.github.com/users/rayfoss","html_url":"https://github.com/rayfoss","followers_url":"https://api.github.com/users/rayfoss/followers","following_url":"https://api.github.com/users/rayfoss/following{/other_user}","gists_url":"https://api.github.com/users/rayfoss/gists{/gist_id}","starred_url":"https://api.github.com/users/rayfoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rayfoss/subscriptions","organizations_url":"https://api.github.com/users/rayfoss/orgs","repos_url":"https://api.github.com/users/rayfoss/repos","events_url":"https://api.github.com/users/rayfoss/events{/privacy}","received_events_url":"https://api.github.com/users/rayfoss/received_events","type":"User","site_admin":false},"labels":[{"id":304056336,"node_id":"MDU6TGFiZWwzMDQwNTYzMzY=","url":"https://api.github.com/repos/vuejs/vue-cli/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":841933567,"node_id":"MDU6TGFiZWw4NDE5MzM1Njc=","url":"https://api.github.com/repos/vuejs/vue-cli/labels/upstream","name":"upstream","color":"e5b864","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-07-07T01:50:00Z","updated_at":"2018-09-29T07:45:53Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### What problem does this feature solve?\r\nnode-sass is the most painful node dependency in the entirety of the npm ecosystem. Plus dart sass is faster, allows code sharing with docker (no binaries), never breaks installations after a system or node update...\r\n\r\nI realize there will be limitations... which I'm willing to work around for the benefits\r\n\r\n### What does the proposed API look like?\r\n```\r\n$ vue-cli generate foo\r\n\r\nSass ( node-sass )\r\nSass ( Dart Sass - Experimental ) *\r\nLess\r\nStylus\r\n```\r\n\r\n<!-- generated by vue-issues. DO NOT REMOVE -->"},"comment":{"url":"https://api.github.com/repos/vuejs/vue-cli/issues/comments/425624775","html_url":"https://github.com/vuejs/vue-cli/issues/1782#issuecomment-425624775","issue_url":"https://api.github.com/repos/vuejs/vue-cli/issues/1782","id":425624775,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTYyNDc3NQ==","user":{"login":"beary","id":6630583,"node_id":"MDQ6VXNlcjY2MzA1ODM=","avatar_url":"https://avatars0.githubusercontent.com/u/6630583?v=4","gravatar_id":"","url":"https://api.github.com/users/beary","html_url":"https://github.com/beary","followers_url":"https://api.github.com/users/beary/followers","following_url":"https://api.github.com/users/beary/following{/other_user}","gists_url":"https://api.github.com/users/beary/gists{/gist_id}","starred_url":"https://api.github.com/users/beary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beary/subscriptions","organizations_url":"https://api.github.com/users/beary/orgs","repos_url":"https://api.github.com/users/beary/repos","events_url":"https://api.github.com/users/beary/events{/privacy}","received_events_url":"https://api.github.com/users/beary/received_events","type":"User","site_admin":false},"created_at":"2018-09-29T07:45:53Z","updated_at":"2018-09-29T07:45:53Z","author_association":"NONE","body":"I tried to use `dart-sass` according `sass-loader`'s [example](https://github.com/webpack-contrib/sass-loader#examples)\r\n```js\r\n/* vue.config.js */\r\nmodule.exports = {\r\n  css: {\r\n    loaderOptions: {\r\n      sass: {\r\n        implementation: require('sass')\r\n      }\r\n    }\r\n  }\r\n}\r\n```\r\nBut it's reports\r\n```bash\r\n> test@0.1.0 serve /home/beary/nodeWorkSpace/test\r\n> vue-cli-service serve\r\n INFO  Starting development server...Starting type checking and linting service...\r\nUsing 1 worker with 2048MB memory limit 10% building modules 1/1 modules 0 activeevents.js:167\r\n      throw er; // Unhandled 'error' event      ^\r\nError: ENOSPC: no space left on device, watch '/home/beary/nodeWorkSpace/test/public'\r\n    at FSWatcher.start (internal/fs/watchers.js:164:26)    at Object.watch (fs.js:1232:11)\r\n    at createFsWatchInstance (/home/beary/nodeWorkSpace/test/node_modules/chokidar/lib/nodefs-handler.js:37:15)\r\n    at setFsWatchListener (/home/beary/nodeWorkSpace/test/node_modules/chokidar/lib/nodefs-handler.js:80:15)\r\n    at FSWatcher.NodeFsHandler._watchWithNodeFs (/home/beary/nodeWorkSpace/test/node_modules/chokidar/lib/nodefs-handler.js:232:14)\r\n    at FSWatcher.NodeFsHandler._handleDir (/home/beary/nodeWorkSpace/test/node_modules/chokidar/lib/nodefs-handler.js:414:19)    at FSWatcher.<anonymous> (/home/beary/nodeWorkSpace/test/node_modules/chokidar/lib/nodefs-handler.js:462:19)\r\n    at FSWatcher.<anonymous> (/home/beary/nodeWorkSpace/test/node_modules/chokidar/lib/nodefs-handler.js:467:16)    at FSReqWrap.oncomplete (fs.js:155:5)\r\nEmitted 'error' event at:\r\n    at FSWatcher._handleError (/home/beary/nodeWorkSpace/test/node_modules/chokidar/index.js:260:10)\r\n    at createFsWatchInstance (/home/beary/nodeWorkSpace/test/node_modules/chokidar/lib/nodefs-handler.js:39:5)\r\n    at setFsWatchListener (/home/beary/nodeWorkSpace/test/node_modules/chokidar/lib/nodefs-handler.js:80:15)\r\n    [... lines matching original stack trace ...]\r\n    at FSReqWrap.oncomplete (fs.js:155:5)\r\n```"}}
{"actor":{"display_login":"beary"}}