Browse Source

fix issues with import outside of module

pull/191/head
DashEightMate 5 months ago
parent
commit
6d8d78e7af
  1. 2
      docker/Dockerfile
  2. 1
      server/package.json
  3. 2
      server/tsconfig.json

2
docker/Dockerfile

@ -15,4 +15,4 @@ RUN su && rm -rf .git
WORKDIR /app/server
EXPOSE 4444
CMD ["node", "src/index.ts"]
CMD ["node", "-r", "ts-node/register", "src/index.ts"]

1
server/package.json

@ -11,7 +11,6 @@
},
"keywords": [],
"author": "",
"type": "commonjs",
"devDependencies": {
"@types/express": "^4.17.12",
"@types/express-http-proxy": "^1.6.1",

2
server/tsconfig.json

@ -1,7 +1,7 @@
{
"compilerOptions": {
"target": "ESNext",
"module": "commonjs",
"module": "CommonJS",
"rootDir": "./",
"outDir": "./build",
"esModuleInterop": true,

Loading…
Cancel
Save