Thank you. That was really helpful and solved my problem! Appreciate your help and quick response!
Nevermind.The problem is mixing of ES5 and ES6 import exports (module.exports) is not allowed after webpack2. Deprecated the webpack version and works!