Bit Planets

Results 22 comments of Bit Planets

Is not to use on the server side, but is to keep the window namespace clean. If I provide a module.export or define, you should export your module to that....

You also need to add `extensions: ['', '.js', '.json'],` to your webpack config. I'm also having problems on node.js... Not easy to fix.

No because is easier for some function to return something by mistake, than set a property on exports variable. Ok, I will try to make a test (:

Here https://github.com/webpack/enhanced-require/blob/master/lib/RequireContext.js#L344 instead of: ``` fn(reqFn, parent.exports, parent); ``` should be ``` parent.exports = fn(reqFn, parent.exports, parent); ``` Or something more specific, like only replacing if no value is set...

+1 when you need server-side rendering you need image urls.