pnotify icon indicating copy to clipboard operation
pnotify copied to clipboard

pnotify breaks in IE11 when imported via Webpack

Open kouts opened this issue 6 years ago • 1 comments

I'm using [email protected] with the following import statements

import PNotify from 'pnotify/dist/es/PNotify.js';
import PNotifyButtons from 'pnotify/dist/es/PNotifyButtons.js';

to import pnotify into my build This works fine in Chrome and Firefox but breaks in IE11. There's also no error logged in the console whatsoever.

kouts avatar Jun 27 '19 09:06 kouts

you are using dist/es/ that are e6+ modules, you maybe needs to or use Vanilla JS (ES5), or dist/iife/ or transpile to es5 using

nmocruz avatar Oct 24 '19 17:10 nmocruz