Open slaymantis opened 2 years ago
Great work on this. Works well
I am also trying to get it working in gatsby but I get that webpack error. I have also tried installing browser-monads but it didn't help It works with gatsby develop but not when you try build it
71428 | },{"../core/geometry":132,"../lib/three":179}],177:[function(dereq,module,exports){ 71429 | // Polyfill Promise.
Promise
71430 | window.Promise = window.Promise || dereq('promise-polyfill'); | ^ 71431 | 71432 | // WebVR polyfill 71433 | // Check before the polyfill runs.
WebpackError: ReferenceError: window is not defined
Great work on this. Works well
I am also trying to get it working in gatsby but I get that webpack error. I have also tried installing browser-monads but it didn't help It works with gatsby develop but not when you try build it
71428 | },{"../core/geometry":132,"../lib/three":179}],177:[function(dereq,module,exports){ 71429 | // Polyfill
Promise
.WebpackError: ReferenceError: window is not defined