rename frontend directory to frontend
This commit is contained in:
parent
71a9b69e04
commit
c7d996dbeb
30 changed files with 1 additions and 1 deletions
22
crawler/frontend/vite.config.ts
Normal file
22
crawler/frontend/vite.config.ts
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
import tailwindcss from "@tailwindcss/vite";
|
||||
import react from '@vitejs/plugin-react-swc';
|
||||
import path from "path";
|
||||
import { env } from "process";
|
||||
import { defineConfig } from 'vite';
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react(), tailwindcss()],
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": path.resolve(__dirname, "./src"),
|
||||
},
|
||||
},
|
||||
server: {
|
||||
allowedHosts: [
|
||||
env.DEV_HOST ?? 'localhost',
|
||||
// Add more hosts here
|
||||
'wrongmove.viktorbarzin.me'
|
||||
],
|
||||
}
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue