{"action":"created","issue":{"url":"https://api.github.com/repos/vuejs-templates/webpack/issues/186","repository_url":"https://api.github.com/repos/vuejs-templates/webpack","labels_url":"https://api.github.com/repos/vuejs-templates/webpack/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/vuejs-templates/webpack/issues/186/comments","events_url":"https://api.github.com/repos/vuejs-templates/webpack/issues/186/events","html_url":"https://github.com/vuejs-templates/webpack/issues/186","id":163834469,"number":186,"title":"Disabling hash for css","user":{"login":"ttoinou","id":12092576,"avatar_url":"https://avatars.githubusercontent.com/u/12092576?v=3","gravatar_id":"","url":"https://api.github.com/users/ttoinou","html_url":"https://github.com/ttoinou","followers_url":"https://api.github.com/users/ttoinou/followers","following_url":"https://api.github.com/users/ttoinou/following{/other_user}","gists_url":"https://api.github.com/users/ttoinou/gists{/gist_id}","starred_url":"https://api.github.com/users/ttoinou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ttoinou/subscriptions","organizations_url":"https://api.github.com/users/ttoinou/orgs","repos_url":"https://api.github.com/users/ttoinou/repos","events_url":"https://api.github.com/users/ttoinou/events{/privacy}","received_events_url":"https://api.github.com/users/ttoinou/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-05T12:02:02Z","updated_at":"2016-07-06T06:02:32Z","closed_at":"2016-07-05T20:56:45Z","body":"Hi !\r\n\r\nFirst thank you for this boilerplate code it's very useful for VueJS development :) .\r\n\r\nI would like to disable hash in filenames in the dist folder. I suceeded for the .js by changing `filename: utils.assetsPath('[name].[chunkhash].js'),`  to `filename: utils.assetsPath('[name].js')` in webpack.prod.conf.js.\r\n\r\nBut changing `new ExtractTextPlugin(utils.assetsPath('/[name].[contenthash].css')),` to `new ExtractTextPlugin(utils.assetsPath('/[name].css')),` produces an error : \r\n\r\n```\r\nshell.js: internal error\r\nError: EPERM: operation not permitted, mkdir 'MYREPERTORY\\dist\\pepin'\r\n    at Error (native)\r\n    at Object.fs.mkdirSync (fs.js:794:18)\r\n    at mkdirSyncRecursive (MYREPERTORY\\node_modules\\shelljs\\src\\mkdir.js:11:8)\r\n    at MYREPERTORY\\node_modules\\shelljs\\src\\mkdir.js:63:7\r\n    at Array.forEach (native)\r\n    at _mkdir (MYREPERTORY\\node_modules\\shelljs\\src\\mkdir.js:48:8)\r\n    at MYREPERTORY\\node_modules\\shelljs\\src\\common.js:240:23\r\n    at Object.<anonymous> (MYREPERTORY\\build\\build.js:25:1)\r\n    at Module._compile (module.js:409:26)\r\n    at Object.Module._extensions..js (module.js:416:10)\r\n    at Module.load (module.js:343:32)\r\n    at Function.Module._load (module.js:300:12)\r\n    at Function.Module.runMain (module.js:441:10)\r\n    at startup (node.js:139:18)\r\n    at node.js:968:3\r\n```\r\n\r\nDo you have any idea ?\r\n\r\nThanks in advance!"},"comment":{"url":"https://api.github.com/repos/vuejs-templates/webpack/issues/comments/230678126","html_url":"https://github.com/vuejs-templates/webpack/issues/186#issuecomment-230678126","issue_url":"https://api.github.com/repos/vuejs-templates/webpack/issues/186","id":230678126,"user":{"login":"ttoinou","id":12092576,"avatar_url":"https://avatars.githubusercontent.com/u/12092576?v=3","gravatar_id":"","url":"https://api.github.com/users/ttoinou","html_url":"https://github.com/ttoinou","followers_url":"https://api.github.com/users/ttoinou/followers","following_url":"https://api.github.com/users/ttoinou/following{/other_user}","gists_url":"https://api.github.com/users/ttoinou/gists{/gist_id}","starred_url":"https://api.github.com/users/ttoinou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ttoinou/subscriptions","organizations_url":"https://api.github.com/users/ttoinou/orgs","repos_url":"https://api.github.com/users/ttoinou/repos","events_url":"https://api.github.com/users/ttoinou/events{/privacy}","received_events_url":"https://api.github.com/users/ttoinou/received_events","type":"User","site_admin":false},"created_at":"2016-07-06T06:02:32Z","updated_at":"2016-07-06T06:02:32Z","body":"Hi, thanks for the answer.\r\nI am not removing the leading slash. The line `new ExtractTextPlugin(utils.assetsPath('/[name].[contenthash].css'))` actually works (but not without `.[contenthash]`)"}}
{"actor":{"display_login":"ttoinou"}}