Skip to content

Commit

Permalink
fix: api 패키지에 이모션 설정 추가 (#13)
Browse files Browse the repository at this point in the history
* fix: mode로 분기하도록 설정

* fix: api 패키지에 @emotion/react 설치
  • Loading branch information
alstn2468 authored Jan 27, 2024
1 parent 6077548 commit 53f2a01
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 14 deletions.
25 changes: 13 additions & 12 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified .yarn/install-state.gz
Binary file not shown.
1 change: 0 additions & 1 deletion apps/preview/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import react from '@vitejs/plugin-react';
export default defineConfig({
plugins: [
react({
jsxRuntime: 'classic',
jsxImportSource: '@emotion/react',
babel: {
plugins: ['@emotion/babel-plugin'],
Expand Down
1 change: 0 additions & 1 deletion apps/super-admin/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import react from '@vitejs/plugin-react';
export default defineConfig({
plugins: [
react({
jsxRuntime: 'classic',
jsxImportSource: '@emotion/react',
babel: {
plugins: ['@emotion/babel-plugin'],
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"dev": "turbo dev",
"lint": "turbo lint",
"type-check": "turbo type-check",
"preview": "turbo preview",
"format": "prettier --write \"**/*.{ts,tsx,md}\""
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0"
},
"dependencies": {
"@emotion/react": "^11.11.3",
"@lukemorales/query-key-factory": "^1.3.2",
"@tanstack/query-core": "^4.32.6",
"@tanstack/react-query": "^4.32.6",
Expand Down
1 change: 1 addition & 0 deletions packages/api/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "@boolti/typescript-config/vite.json",
"compilerOptions": {
"moduleResolution": "node",
"jsxImportSource": "@emotion/react"
},
"include": [
"src"
Expand Down
1 change: 1 addition & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"outputs": ["dist/**"]
},
"lint": {},
"preview": {},
"dev": {
"cache": false,
"persistent": true
Expand Down
1 change: 1 addition & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ __metadata:
dependencies:
"@boolti/eslint-config": "npm:*"
"@boolti/typescript-config": "npm:*"
"@emotion/react": "npm:^11.11.3"
"@lukemorales/query-key-factory": "npm:^1.3.2"
"@tanstack/query-core": "npm:^4.32.6"
"@tanstack/react-query": "npm:^4.32.6"
Expand Down

0 comments on commit 53f2a01

Please sign in to comment.