|
1 | | -import path from "path"; |
| 1 | +import path from 'path' |
2 | 2 |
|
3 | | -import tailwindcss from "@tailwindcss/vite"; |
4 | | -import react from "@vitejs/plugin-react"; |
5 | | -import { defineConfig } from "vite"; |
| 3 | +import tailwindcss from '@tailwindcss/vite' |
| 4 | +import react from '@vitejs/plugin-react' |
| 5 | +import { defineConfig } from 'vite' |
6 | 6 |
|
7 | 7 | export default defineConfig({ |
| 8 | + base: '/7ka/', |
8 | 9 | plugins: [react(), tailwindcss()], |
9 | 10 | resolve: { |
10 | 11 | alias: { |
11 | | - "@/app": path.resolve(__dirname, "src/app"), |
12 | | - "@/pages": path.resolve(__dirname, "src/pages"), |
13 | | - "@/widgets": path.resolve(__dirname, "src/widgets"), |
14 | | - "@/features": path.resolve(__dirname, "src/features"), |
15 | | - "@/entities": path.resolve(__dirname, "src/entities"), |
16 | | - "@/shared": path.resolve(__dirname, "src/shared"), |
| 12 | + '@/app': path.resolve(__dirname, 'src/app'), |
| 13 | + '@/pages': path.resolve(__dirname, 'src/pages'), |
| 14 | + '@/widgets': path.resolve(__dirname, 'src/widgets'), |
| 15 | + '@/features': path.resolve(__dirname, 'src/features'), |
| 16 | + '@/entities': path.resolve(__dirname, 'src/entities'), |
| 17 | + '@/shared': path.resolve(__dirname, 'src/shared'), |
17 | 18 | }, |
18 | 19 | }, |
19 | | -}); |
| 20 | +}) |
0 commit comments