Merge pull request #21202 from overleaf/ls-scripts-to-esm-2

Migrate scripts folder to esm 2/x

GitOrigin-RevId: 1698bc4f13e026fa281d37a4914a2f997849c761
This commit is contained in:
Liangjun Song
2024-10-23 08:04:53 +00:00
committed by Copybot
parent f2ec640b06
commit 902ae750dc
21 changed files with 184 additions and 184 deletions
@@ -1,5 +1,5 @@
const { db, waitForDb } = require('../../app/src/infrastructure/mongodb')
const minimist = require('minimist')
import { db, waitForDb } from '../../app/src/infrastructure/mongodb.js'
import minimist from 'minimist'
const argv = minimist(process.argv.slice(2))
const commit = argv.commit !== undefined