Issue #650

Install

npm install @babel/core
npm install @babel/cli
npm install @babel/preset-env

Configure .babelrc

{
  "presets": ["@babel/preset-env"]
}

In package.json, transpile using npx babel then node dist/index.js

"start": "cp ../landing/src/apps/factory.js copied/factory.js && npx babel index.js --out-file dist/index.js && npx babel copied/factory.js --out-file dist/factory.js && node dist/index.js"