From 39415e202cc03645ca5a8142057ff74cf233f861 Mon Sep 17 00:00:00 2001 From: Minsu Kim Date: Sat, 20 Jan 2024 00:04:31 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=B9=8C=EB=93=9C=20=EC=98=A4=EB=A5=98?= =?UTF-8?q?=20=EC=88=98=EC=A0=95=20(#10)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/admin/vite.config.ts | 1 + apps/preview/vite.config.ts | 1 + apps/super-admin/vite.config.ts | 1 + packages/api/package.json | 3 +++ 4 files changed, 6 insertions(+) diff --git a/apps/admin/vite.config.ts b/apps/admin/vite.config.ts index f1007522..d4dd3fc7 100644 --- a/apps/admin/vite.config.ts +++ b/apps/admin/vite.config.ts @@ -5,6 +5,7 @@ import react from '@vitejs/plugin-react'; export default defineConfig({ plugins: [ react({ + jsxRuntime: 'classic', jsxImportSource: '@emotion/react', babel: { plugins: ['@emotion/babel-plugin'], diff --git a/apps/preview/vite.config.ts b/apps/preview/vite.config.ts index f1007522..d4dd3fc7 100644 --- a/apps/preview/vite.config.ts +++ b/apps/preview/vite.config.ts @@ -5,6 +5,7 @@ import react from '@vitejs/plugin-react'; export default defineConfig({ plugins: [ react({ + jsxRuntime: 'classic', jsxImportSource: '@emotion/react', babel: { plugins: ['@emotion/babel-plugin'], diff --git a/apps/super-admin/vite.config.ts b/apps/super-admin/vite.config.ts index f1007522..d4dd3fc7 100644 --- a/apps/super-admin/vite.config.ts +++ b/apps/super-admin/vite.config.ts @@ -5,6 +5,7 @@ import react from '@vitejs/plugin-react'; export default defineConfig({ plugins: [ react({ + jsxRuntime: 'classic', jsxImportSource: '@emotion/react', babel: { plugins: ['@emotion/babel-plugin'], diff --git a/packages/api/package.json b/packages/api/package.json index b45d3f33..90519ac5 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -5,6 +5,9 @@ "type": "module", "main": "src/index.tsx", "types": "src/index.tsx", + "scripts": { + "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0" + }, "dependencies": { "@lukemorales/query-key-factory": "^1.3.2", "@tanstack/react-query": "^5.17.15",