-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Found a bug when attempting to use signature_pad with Webpack 2!
My project is using the newest version of Create React App. Using SignaturePad with previous versions of Create React App worked as expected, but a bug appeared when they upgraded to Webpack 2. Therefore, I am pretty confident that it specifically has to do with Webpack 2's new import/export mechanisms.
What is the current behavior?
When attempting to create a new instance of SignaturePad
, the app crashes with a specific webpack-related error:
What is the expected behavior?
The instance should be created as expected, without the crash.
Which versions of SignaturePad, and which browser / device are affected by this issue? Did this work in previous versions of SignaturePad?
This appears to happen in both Chrome and Safari.