import ngStomp from 'AngularStompDK/public/app/angular-stomp';
It should be simpler to load the lib, with something like
import ngStomp from 'AngularStompDK'; // Loading the transpiled file from main in package.json
import ngStomp from 'AngularStompDK/angular-stomp'; // loading the angular module es 2015
In order to use ES2015 import we have to do :
It should be simpler to load the lib, with something like