make it also cacheable for webpack

it's just a blunt copy-paste code from jsx-loader (https://github.com/petehunt/jsx-loader/blob/master/index.js#L5 ). no more warning like

```
./src/scripts/components/footer.cjsx 327 {0} [not cacheable] [built]
```