pnotify
pnotify copied to clipboard
Webpack and ES5 support
Hello, I got same problem as here: https://github.com/sciactive/pnotify/issues/350
Now I use v3.2.1
and my file look like this:
import * as PNotify from 'pnotify';
new PNotify({type: 'notice', text: 'text'});
When I migrate to v4 - it's works fine with ES6 modules, but I want to use ES5 scripts and can't import them, do you have solution or any ideas for webpack?