Refactor ES6 import and any ES2015 feature not supported by Argon (node.js v4.4.4.)
kn9ts opened this issue · 0 comments
kn9ts commented
Most features I have used are supported by Argon (node v4.4.4) but some are not. Thus am using babel-node for development and transforming the code base to ES5 for production in a ./dist
directory. I think this is pretty ugly especially when it comes to debugging. Since you are not debugging the same code you wrote.
I prefer Project mulla working with Argon for now and later on to the next LTS.
Example of such pieces in ./index.js
in the codebase:
import './environment';
import express from 'express';
import path from 'path';