This repository has been archived on 2022-11-26. You can view files and clone it, but cannot push or open issues or pull requests.
IcyNet.eu/icynet.eu.js

13 lines
309 B
JavaScript
Executable File

#!/usr/bin/env node
const path = require('path')
if (process.argv.indexOf('-d') === -1 && process.argv.indexOf('--development') === -1) {
process.env.NODE_ENV = 'production'
}
require('@babel/register')({
plugins: ['@babel/plugin-transform-modules-commonjs']
})
require(path.join(__dirname, 'server'))