Latest stories (34)

WWebpack-dev-server: Where does your CSS go?

14.09.20161 Min Read

You might have noticed when using webpack-dev-server that the CSS seems to appear on the page as if by magic. If you have a look at the build manifest , you'll see your file listed but no sign of…

SServerside CSS Modules with babel

21.08.20162 Min Read

I had a requirement to use CSS modules with serverside rendering, it took me a while to figure out so I thought I'd write the process down. In order to set css modules, we need babel to turn our…

bbabel-loader's hidden feature - babelrc:false

21.08.20162 Min Read

I've spent 3 days configuring Webpack and babel to deal with CSS Modules while doing server-side rendering. I've just discovered an undocumented setting in Webpack's babel-loader that solves the…

WWhat actually gets included in your npm module?

01.08.20162 Min Read

Npm automatically includes some files. From the documentation ( https://docs.npmjs.com/files/package.json#files ) we can see the following files are always included regardless of settings: package…