I'm using gulp webpack with "require()" for compiling sources.
window.PNotify = require('../../../node_modules/pnotify/src/pnotify'); require('../../../node_modules/pnotify/src/pnotify.buttons'); require('../../../node_modules/pnotify/src/pnotify.nonblock');
Error caused from https://github.com/sciactive/pnotify/blob/master/src/pnotify.js#L865
I'm using gulp webpack with "require()" for compiling sources.
window.PNotify = require('../../../node_modules/pnotify/src/pnotify'); require('../../../node_modules/pnotify/src/pnotify.buttons'); require('../../../node_modules/pnotify/src/pnotify.nonblock');
How to fix it?