Chore: 패키지 수정

This commit is contained in:
정현조 2024-09-11 16:57:36 +09:00
parent 5782c04bc2
commit c925abb8c4
2 changed files with 1 additions and 2 deletions

View File

@ -5,7 +5,6 @@
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"dev:no-mock": "VITE_MOCKING_ENABLED=false vite",
"build": "tsc -b && vite build", "build": "tsc -b && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview", "preview": "vite preview",

View File

@ -7,7 +7,7 @@ import tsconfigPaths from 'vite-tsconfig-paths';
// https://vitejs.dev/config/ // https://vitejs.dev/config/
export default defineConfig({ export default defineConfig({
plugins: [react(), tsconfigPaths(), svgr()], plugins: [react(), tsconfigPaths(), svgr()],
base: './', base: '/', // base 경로를 절대 경로로 수정
test: { test: {
globals: true, globals: true,
}, },