My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

How to deal with import, export issues in libs using NodeJS?

Yevheniy Potupa's photo
Yevheniy Potupa
·Oct 6, 2017

I'm working with Angular 4+. When working just with firebase everything works good, but when I'm using Universal with NodeJS and Express for SSR I actually have issues with ES6 syntax (type errors for import and export). How can I fix this? fix this with webpack, JSPM, Babel or Node.mjs?