You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
327 B

  1. import { defineConfig } from 'vite'
  2. import react from '@vitejs/plugin-react'
  3. import path from 'path'
  4. // https://vite.dev/config/
  5. export default defineConfig({
  6. plugins: [react()],
  7. resolve: { alias: { '@': path.resolve (__dirname, './src') } },
  8. server: { host: true, allowedHosts: ['miteruzo.com', 'bbs.kekec.wiki'] },
  9. })