move to mjs

This commit is contained in:
Henry Jameson 2025-02-03 16:45:38 +02:00
commit 31609da231
3 changed files with 12 additions and 15 deletions

View file

@ -1,4 +1,4 @@
require('./check-versions')()
import('./check-versions.mjs').then(m => m.default())
var config = require('../config')
if (!process.env.NODE_ENV) process.env.NODE_ENV = config.dev.env
var path = require('path')