component/builder2.js — pull request #70 by timaschew (2014-07-30 13:17:30+00:00)
Title: don't throw errors for server side require`s

allow environment check also for locals
for instance:
```js
if (typeof window === 'undefined') {
require('../local-component');
} else {
require('local-component')
}
```