Skip to content

Commit 55cd8ef

Browse files
committed
chore: 절대 경로 설정
1 parent a59338c commit 55cd8ef

File tree

4 files changed

+50
-4
lines changed

4 files changed

+50
-4
lines changed

frontend/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"prettier-plugin-tailwindcss": "^0.6.8",
3434
"typescript": "~5.6.2",
3535
"typescript-eslint": "^8.11.0",
36-
"vite": "^5.4.10"
36+
"vite": "^5.4.10",
37+
"vite-tsconfig-paths": "^5.1.0"
3738
}
3839
}

frontend/tsconfig.app.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@
2020
"noUnusedLocals": true,
2121
"noUnusedParameters": true,
2222
"noFallthroughCasesInSwitch": true,
23-
"noUncheckedSideEffectImports": true
23+
"noUncheckedSideEffectImports": true,
24+
"baseUrl": "src",
25+
"paths": {
26+
"@/*": ["*"],
27+
"@components/*": ["components/*"]
28+
}
2429
},
2530
"include": ["src"]
2631
}

frontend/vite.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import { defineConfig } from "vite";
22
import react from "@vitejs/plugin-react";
33
import tailwindcss from "tailwindcss";
4+
import tsconfigPaths from "vite-tsconfig-paths";
45

56
// https://vite.dev/config/
67
export default defineConfig({
7-
plugins: [react()],
8+
plugins: [react(), tsconfigPaths()],
89
css: {
910
postcss: {
1011
plugins: [tailwindcss()],

frontend/yarn.lock

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -853,6 +853,11 @@ chokidar@^3.5.3:
853853
optionalDependencies:
854854
fsevents "~2.3.2"
855855

856+
clsx@^2.1.1:
857+
version "2.1.1"
858+
resolved "https://registry.yarnpkg.com/clsx/-/clsx-2.1.1.tgz#eed397c9fd8bd882bfb18deab7102049a2f32999"
859+
integrity sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==
860+
856861
color-convert@^2.0.1:
857862
version "2.0.1"
858863
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3"
@@ -899,7 +904,7 @@ csstype@^3.0.2:
899904
resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.3.tgz#d80ff294d114fb0e6ac500fbf85b60137d7eff81"
900905
integrity sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==
901906

902-
debug@^4.1.0, debug@^4.3.1, debug@^4.3.2, debug@^4.3.4:
907+
debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.4:
903908
version "4.3.7"
904909
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.7.tgz#87945b4151a011d76d95a198d7111c865c360a52"
905910
integrity sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==
@@ -1219,6 +1224,11 @@ globals@^15.11.0:
12191224
resolved "https://registry.yarnpkg.com/globals/-/globals-15.11.0.tgz#b96ed4c6998540c6fb824b24b5499216d2438d6e"
12201225
integrity sha512-yeyNSjdbyVaWurlwCpcA6XNBrHTMIeDdj0/hnvX/OLJ9ekOXYbLsLinH/MucQyGvNnXhidTdNhTtJaffL2sMfw==
12211226

1227+
globrex@^0.1.2:
1228+
version "0.1.2"
1229+
resolved "https://registry.yarnpkg.com/globrex/-/globrex-0.1.2.tgz#dd5d9ec826232730cd6793a5e33a9302985e6098"
1230+
integrity sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==
1231+
12221232
graphemer@^1.4.0:
12231233
version "1.4.0"
12241234
resolved "https://registry.yarnpkg.com/graphemer/-/graphemer-1.4.0.tgz#fb2f1d55e0e3a1849aeffc90c4fa0dd53a0e66c6"
@@ -1627,6 +1637,16 @@ prelude-ls@^1.2.1:
16271637
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"
16281638
integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==
16291639

1640+
prettier-plugin-tailwindcss@^0.6.8:
1641+
version "0.6.8"
1642+
resolved "https://registry.yarnpkg.com/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.6.8.tgz#8a178e1679e3f941cc9de396f109c6cffea676d8"
1643+
integrity sha512-dGu3kdm7SXPkiW4nzeWKCl3uoImdd5CTZEJGxyypEPL37Wj0HT2pLqjrvSei1nTeuQfO4PUfjeW5cTUNRLZ4sA==
1644+
1645+
prettier@^3.3.3:
1646+
version "3.3.3"
1647+
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.3.3.tgz#30c54fe0be0d8d12e6ae61dbb10109ea00d53105"
1648+
integrity sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==
1649+
16301650
punycode@^2.1.0:
16311651
version "2.3.1"
16321652
resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5"
@@ -1827,6 +1847,11 @@ supports-preserve-symlinks-flag@^1.0.0:
18271847
resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09"
18281848
integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==
18291849

1850+
tailwind-merge@^2.5.4:
1851+
version "2.5.4"
1852+
resolved "https://registry.yarnpkg.com/tailwind-merge/-/tailwind-merge-2.5.4.tgz#4bf574e81fa061adeceba099ae4df56edcee78d1"
1853+
integrity sha512-0q8cfZHMu9nuYP/b5Shb7Y7Sh1B7Nnl5GqNr1U+n2p6+mybvRtayrQ+0042Z5byvTA8ihjlP8Odo8/VnHbZu4Q==
1854+
18301855
tailwindcss@^3.4.14:
18311856
version "3.4.14"
18321857
resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-3.4.14.tgz#6dd23a7f54ec197b19159e91e3bb1e55e7aa73ac"
@@ -1891,6 +1916,11 @@ ts-interface-checker@^0.1.9:
18911916
resolved "https://registry.yarnpkg.com/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz#784fd3d679722bc103b1b4b8030bcddb5db2a699"
18921917
integrity sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==
18931918

1919+
tsconfck@^3.0.3:
1920+
version "3.1.4"
1921+
resolved "https://registry.yarnpkg.com/tsconfck/-/tsconfck-3.1.4.tgz#de01a15334962e2feb526824339b51be26712229"
1922+
integrity sha512-kdqWFGVJqe+KGYvlSO9NIaWn9jT1Ny4oKVzAJsKii5eoE9snzTJzL4+MMVOMn+fikWGFmKEylcXL710V/kIPJQ==
1923+
18941924
type-check@^0.4.0, type-check@~0.4.0:
18951925
version "0.4.0"
18961926
resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1"
@@ -1932,6 +1962,15 @@ util-deprecate@^1.0.2:
19321962
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
19331963
integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==
19341964

1965+
vite-tsconfig-paths@^5.1.0:
1966+
version "5.1.0"
1967+
resolved "https://registry.yarnpkg.com/vite-tsconfig-paths/-/vite-tsconfig-paths-5.1.0.tgz#b449b6749eb69e635ad4b5fcf4f4181b92d512c9"
1968+
integrity sha512-Y1PLGHCJfAq1Zf4YIGEsmuU/NCX1epoZx9zwSr32Gjn3aalwQHRKr5aUmbo6r0JHeHkqmWpmDg7WOynhYXw1og==
1969+
dependencies:
1970+
debug "^4.1.1"
1971+
globrex "^0.1.2"
1972+
tsconfck "^3.0.3"
1973+
19351974
vite@^5.4.10:
19361975
version "5.4.10"
19371976
resolved "https://registry.yarnpkg.com/vite/-/vite-5.4.10.tgz#d358a7bd8beda6cf0f3b7a450a8c7693a4f80c18"

0 commit comments

Comments
 (0)