I am making web app from zero based on Node.JS (Express, etc...) and I used to use the import/export in client side lately (Transcripted by Babel).
How bad idea is to somehow setup Babel to transcript even server side files and use import/export normally. I see Node v11 have import/export as experimental feature so it will be released soon.
I want to make this project from scratch to cleanup my old boilerplate and make it easy to use and clean as much as I can.
I thought this could be optimal. After import/export will be released in Node I will just turn Babel off and I dont need to change code.