Skip to content

Instantly share code, notes, and snippets.

@fredriccliver
Created July 20, 2020 07:55
Show Gist options
  • Save fredriccliver/7d979eabf78f5f16c2b89b326dc3e3e1 to your computer and use it in GitHub Desktop.
Save fredriccliver/7d979eabf78f5f16c2b89b326dc3e3e1 to your computer and use it in GitHub Desktop.
// Transpile all code following this line with babel and use '@babel/preset-env' (aka ES6) preset.
require("@babel/register")({
presets: ["@babel/preset-env"]
});
// Import the rest of our application.
module.exports = require('./server.js')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment