Skip to content

Commit 0a9a64d

Browse files
committed
Adjust build configs to updated dependecies
1 parent 424a140 commit 0a9a64d

4 files changed

Lines changed: 7 additions & 27 deletions

File tree

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@
102102
"tailwindcss": "^4.1.18",
103103
"typescript": "5.6.3",
104104
"vite": "^8.0.1",
105-
"vite-tsconfig-paths": "^6.1.1",
106105
"vitest": "^4.1.0"
107106
},
108107
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"

vite.config.mjs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
11
import { defineConfig } from 'vite'
22
import react from '@vitejs/plugin-react'
3-
import tsconfigPaths from 'vite-tsconfig-paths'
43
import tailwindcss from '@tailwindcss/vite'
54

65
export default defineConfig(() => {
76
return {
8-
plugins: [react(), tsconfigPaths(), tailwindcss()],
7+
plugins: [react(), tailwindcss()],
98
build: {
109
outDir: 'build',
1110
sourcemap: true,
1211
emptyOutDir: true,
1312
},
14-
server: {
15-
port: 1234,
16-
open: true,
13+
resolve: {
14+
tsconfigPaths: true,
1715
},
1816
publicDir: 'public',
1917
envPrefix: 'REACT_APP_',

vitest.config.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
import { loadEnv } from 'vite'
22
import { defineConfig } from 'vitest/config'
33
import react from '@vitejs/plugin-react'
4-
import tsconfigPaths from 'vite-tsconfig-paths'
54

65
export default defineConfig({
7-
plugins: [react(), tsconfigPaths()],
6+
plugins: [react()],
7+
resolve: {
8+
tsconfigPaths: true,
9+
},
810
test: {
911
globals: true,
1012
environment: 'jsdom',

yarn.lock

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4935,11 +4935,6 @@ globby@^11.1.0:
49354935
merge2 "^1.4.1"
49364936
slash "^3.0.0"
49374937

4938-
globrex@^0.1.2:
4939-
version "0.1.2"
4940-
resolved "https://registry.yarnpkg.com/globrex/-/globrex-0.1.2.tgz#dd5d9ec826232730cd6793a5e33a9302985e6098"
4941-
integrity sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==
4942-
49434938
gopd@^1.0.1:
49444939
version "1.0.1"
49454940
resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c"
@@ -7548,11 +7543,6 @@ ts-api-utils@^1.3.0:
75487543
resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.3.0.tgz#4b490e27129f1e8e686b45cc4ab63714dc60eea1"
75497544
integrity sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==
75507545

7551-
tsconfck@^3.0.3:
7552-
version "3.1.6"
7553-
resolved "https://registry.yarnpkg.com/tsconfck/-/tsconfck-3.1.6.tgz#da1f0b10d82237ac23422374b3fce1edb23c3ead"
7554-
integrity sha512-ks6Vjr/jEw0P1gmOVwutM3B7fWxoWBL2KRDb1JfqGVawBmO5UsvmWOQFGHBPl5yxYz4eERr19E6L7NMv+Fej4w==
7555-
75567546
tsconfig-paths@^3.14.2:
75577547
version "3.14.2"
75587548
resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz#6e32f1f79412decd261f92d633a9dc1cfa99f088"
@@ -7865,15 +7855,6 @@ viem@^2.31.4:
78657855
ox "0.8.1"
78667856
ws "8.18.2"
78677857

7868-
vite-tsconfig-paths@^6.1.1:
7869-
version "6.1.1"
7870-
resolved "https://registry.yarnpkg.com/vite-tsconfig-paths/-/vite-tsconfig-paths-6.1.1.tgz#d5c28cba79c89ebf76489ef1040024b21df6da3a"
7871-
integrity sha512-2cihq7zliibCCZ8P9cKJrQBkfgdvcFkOOc3Y02o3GWUDLgqjWsZudaoiuOwO/gzTzy17cS5F7ZPo4bsnS4DGkg==
7872-
dependencies:
7873-
debug "^4.1.1"
7874-
globrex "^0.1.2"
7875-
tsconfck "^3.0.3"
7876-
78777858
"vite@^6.0.0 || ^7.0.0 || ^8.0.0-0", vite@^8.0.1:
78787859
version "8.0.1"
78797860
resolved "https://registry.yarnpkg.com/vite/-/vite-8.0.1.tgz#015cef9a747c07c0cf9cf553f37571885504e9d3"

0 commit comments

Comments
 (0)