Tom Laker
1 min readMay 26, 2017

--

Thanks for this, it really helped. Just a note, things seem to be slightly different from when you created this article and due to my basic knowledge of Webpack, it took me a little time to get it working. In webpack.config.dev.js, it was under ‘options:’ (line 187) that I had to add:

modules: true,
localIdentName: ‘[name]__[local]___[hash:base64:5]’

And then the equivalent on line 186 in production. All seems to be working okay now.

Thanks Ned Schwartz

--

--

Tom Laker

Professional designer and photographer. Currently on the ground in Hong Kong, photographing the protests.