make cacheable

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