Open kleinph opened 7 years ago
I'm really interested to add Webpack support... but I don't work a lot with it, so I will have to discover everything about it to find the origin of the problem.
But, if you know more, you can try to use a fork version of the lib with some modification to see if it works better and then do a PR.
The error message seems to be about the default
import used in the lib. Maybe using a named import could work.
Thanks for your help
Same here
@chetbis and @kleinph : Could you test to fork the project and try to change the default import in order to see if this is the origin of the fix.
I don't have any project with this setup (webpack & co), so I can't reproduce the problem... if you can provide an empty project with your config to help me reproduce the bug, it would help...
Thanks
If I try to import AngularStompDK with
import AngularStompDK from 'AngularStompDK';
, I get the following error message:If I try it with the ES 2015 module (
import ngStomp from 'AngularStompDK/core/ngStomp';
), I get:So is it possible to also add support for Webpack?