Benjamin Kniffler

Results 101 comments of Benjamin Kniffler

Sounds stupid, but putting this on top of your index.js/index.ts file helps ``` window.process = {}; ``` edit: Better solution 3 posts below :)

Sorry, the "workaround" still blocked the screen, though the errow was muted. What REALLY helped was putting a fixed version of `react-error-overlay` into devDependencies like: ``` "react-error-overlay": "6.0.9", ```

Thanks for pointing out! Unfortunately it doesn't really fit well into my particular workflow where I'm using Lambda and got a core library that's shared by multiple lambdas to do...

One thing I've found is, it is very hard to write a mutation that would optimistically update a subscription with apollo, or maybe even impossible, since apollo doesn't seem to...

Yes, the core webpack stuff https://github.com/bkniffler/olymp/blob/master/packages/core/webpack-config.es6 The offline config https://github.com/bkniffler/olymp/blob/master/packages/core/offline.es6 And the babel stuff https://github.com/bkniffler/olymp/blob/master/packages/webpack-babel/index.es6 And the runtime https://github.com/bkniffler/olymp/blob/master/packages/core/web/index.es6

I'll try and investigate more, also I'll make the config a bit more easy to read.

I still didn't manage to make it work. Its definitely the last plugin added to my webpack config and I've tried a lot of different stuff without success. I have...

If I set the __tests.ignoreRuntime to true, the sw.js file will be created, though still the client complains about `offline-plugin: runtime was installed without OfflinePlugin being added to the webpack.config.js....

Got it! The paths are a problem, like for example ```javascript var resource = _path3['default'].resolve(compiler.context, result.resource); if (resource !== runtimePath) { return callback(null, result); } /* this works => if...