2
0
Files
bot/packages/scripts/index.ts
Baptiste Arnaud ee338f62dc build: add pnpm
2022-08-10 18:49:06 +02:00

19 lines
347 B
TypeScript

import { PrismaClient } from 'db'
import path from 'path'
import fs from 'fs'
require('dotenv').config({
path: path.join(
__dirname,
process.env.NODE_ENV === 'production'
? '.env.production'
: process.env.NODE_ENV === 'staging'
? '.env.staging'
: '.env.local'
),
})
const main = async () => {}
main().then()