{"action":"opened","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/1512","labels_url":"https://api.github.com/repos/webpack/webpack/issues/1512/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/1512/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/1512/events","html_url":"https://github.com/webpack/webpack/issues/1512","id":111224404,"number":1512,"title":"Webpack not generating different hashes for .css and .js files","user":{"login":"vlod","id":40151,"avatar_url":"https://avatars.githubusercontent.com/u/40151?v=3","gravatar_id":"","url":"https://api.github.com/users/vlod","html_url":"https://github.com/vlod","followers_url":"https://api.github.com/users/vlod/followers","following_url":"https://api.github.com/users/vlod/following{/other_user}","gists_url":"https://api.github.com/users/vlod/gists{/gist_id}","starred_url":"https://api.github.com/users/vlod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlod/subscriptions","organizations_url":"https://api.github.com/users/vlod/orgs","repos_url":"https://api.github.com/users/vlod/repos","events_url":"https://api.github.com/users/vlod/events{/privacy}","received_events_url":"https://api.github.com/users/vlod/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-13T17:00:11Z","updated_at":"2015-10-13T17:00:11Z","closed_at":null,"body":"I'm trying to implement long-term caching of my js project.\r\n\r\nWhat I've found is that both .css and .js use the same hash\r\n\r\n    app.860846ea86c7b67eddd0.js       132 kB       0  [emitted]  app\r\n    styles.860846ea86c7b67eddd0.css   21 bytes       0  [emitted]  app\r\n\r\nand when I JUST change .css file, both files are updated (I would expect the .js file to stay the same).\r\n\r\n    app.353477b32cc15ea06465.js     132 kB       0  [emitted]  app\r\n    styles.353477b32cc15ea06465.css   20 bytes       0  [emitted]  app\r\n\r\nI've verified that the file that wasn't supposed to change has the same md5 sum.\r\n\r\nI've created a sample github repo to demonstrate. (The readme has a few more details).\r\n\r\n    https://github.com/vlod/webpack_chunk_strange/tree/master\r\n\r\nI would appreciate some help. I'm fairly new to webpack and it's most likely a config error, but I've spent 2 days trying everything I can.\r\n\r\nThanks.\r\n"}}