From 820c02e0ea6c73f38e7ba68a43837329fbfa8098 Mon Sep 17 00:00:00 2001 From: hoeeeeeh Date: Wed, 13 Nov 2024 20:00:12 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=EB=B0=B1=EC=97=94=EB=93=9C=20ESM=20?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/rtmpServer/package.json | 1 + backend/tsconfig.json | 6 +++--- frontend/package.json | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/backend/rtmpServer/package.json b/backend/rtmpServer/package.json index 6014b4e7..51878493 100644 --- a/backend/rtmpServer/package.json +++ b/backend/rtmpServer/package.json @@ -10,6 +10,7 @@ }, "scripts": { "start": "tsx src/index.ts", + "prod": "node .dist/index.js", "build": "tsc -b", "lint": "eslint ." }, diff --git a/backend/tsconfig.json b/backend/tsconfig.json index 1adf495d..d67f3ea4 100644 --- a/backend/tsconfig.json +++ b/backend/tsconfig.json @@ -1,8 +1,8 @@ { "compilerOptions": { - "target": "es2016", - - "module": "CommonJS", + "target": "ESNext", + "moduleResolution": "node", + "module": "ESNext", "esModuleInterop": true, "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */, diff --git a/frontend/package.json b/frontend/package.json index 5ee01f1a..32a80d93 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -15,12 +15,12 @@ "msw:init": "msw init public/" }, "dependencies": { + "@vitejs/plugin-react": "^4.3.3", "eslint-plugin-react": "^7.37.2", "react": "^18.3.1", "react-dom": "^18.3.1", "react-router-dom": "^6.27.0", "styled-components": "^6.1.13", - "@vitejs/plugin-react": "^4.3.3", "vite": "^5.4.10", "vite-plugin-svgr": "^4.3.0", "vite-tsconfig-paths": "^5.1.0"