company vite version güncellemesi
This commit is contained in:
parent
48ff9188cd
commit
2ce166578b
3 changed files with 4260 additions and 278 deletions
4508
company/package-lock.json
generated
4508
company/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -4,10 +4,14 @@
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"start": "vite",
|
||||||
"build": "tsc && vite build",
|
"build": "vite build",
|
||||||
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
"preview": "vite preview",
|
||||||
"preview": "vite preview"
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx,.json",
|
||||||
|
"lint:fix": "npm run lint -- --fix",
|
||||||
|
"prettier": "prettier --ignore-path .gitignore src --check",
|
||||||
|
"prettier:fix": "npm run prettier -- --write",
|
||||||
|
"format": "npm run prettier:fix && npm run lint:fix"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"glob": "^10.4.5",
|
"glob": "^10.4.5",
|
||||||
|
|
@ -33,6 +37,8 @@
|
||||||
"postcss": "^8.4.35",
|
"postcss": "^8.4.35",
|
||||||
"tailwindcss": "^3.4.1",
|
"tailwindcss": "^3.4.1",
|
||||||
"typescript": "^5.2.2",
|
"typescript": "^5.2.2",
|
||||||
"vite": "^5.1.0"
|
"vite": "^5.4.11",
|
||||||
|
"vite-plugin-dynamic-import": "^1.5.0",
|
||||||
|
"vite-plugin-pwa": "^0.21.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,21 @@ import react from '@vitejs/plugin-react';
|
||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [react()],
|
plugins: [react()],
|
||||||
|
server: {
|
||||||
|
open: true,
|
||||||
|
port: 3003,
|
||||||
|
},
|
||||||
optimizeDeps: {
|
optimizeDeps: {
|
||||||
exclude: ['lucide-react'],
|
exclude: ['lucide-react'],
|
||||||
},
|
},
|
||||||
|
build: {
|
||||||
|
outDir: 'dist',
|
||||||
|
sourcemap: false,
|
||||||
|
},
|
||||||
|
preview: {
|
||||||
|
host: '0.0.0.0',
|
||||||
|
port: 80,
|
||||||
|
open: false,
|
||||||
|
allowedHosts: ['sozsoft.com', 'localhost'],
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue