pnotify icon indicating copy to clipboard operation
pnotify copied to clipboard

Webpack and ES5 support

Open TheMY3 opened this issue 5 years ago • 0 comments

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?

TheMY3 avatar May 13 '19 14:05 TheMY3