fix: type as module

This commit is contained in:
Endercheif 2023-03-06 15:02:16 -08:00
parent 2d8c26f156
commit 234530ed60
No known key found for this signature in database
GPG key ID: 7767459A0C8BEE00
6 changed files with 12 additions and 11 deletions

View file

@ -2,13 +2,13 @@
import { create, setLogLevel } from 'logplease';
import express from 'express';
import expressWs from 'express-ws';
import * as globals from './globals';
import config from './config';
import * as globals from './globals.js';
import config from './config.js';
import { join } from 'path';
import { readdir } from 'fs/promises';
import { existsSync, mkdirSync, chmodSync } from 'fs';
import { urlencoded, json } from 'body-parser';
import { load_package } from './runtime';
import { load_package } from './runtime.js';
const logger = create('index', {});
const app = express();