Версия 0.5.7 Откатили изменения в vite.config.ts

This commit is contained in:
anibilag 2025-07-17 13:19:39 +03:00
parent a71091565d
commit 897fa5d00d
2 changed files with 1 additions and 6 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "lawn-mowing-scheduler", "name": "lawn-mowing-scheduler",
"private": true, "private": true,
"version": "0.5.6", "version": "0.5.7",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "concurrently \"npm run server\" \"npm run client\"", "dev": "concurrently \"npm run server\" \"npm run client\"",

View File

@ -1,6 +1,5 @@
import { defineConfig, loadEnv } from 'vite'; import { defineConfig, loadEnv } from 'vite';
import react from '@vitejs/plugin-react'; import react from '@vitejs/plugin-react';
import { resolve } from 'path';
export default defineConfig(({ mode }) => { export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd()); const env = loadEnv(mode, process.cwd());
@ -22,9 +21,5 @@ export default defineConfig(({ mode }) => {
}, },
}, },
}, },
build: {
outDir: resolve(__dirname, '../public'),
emptyOutDir: true,
},
} }
}); });