mirror of
				https://github.com/mmahdium/TBW.git
				synced 2025-11-04 04:28:13 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			609 B
		
	
	
	
		
			TypeScript
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			609 B
		
	
	
	
		
			TypeScript
		
	
	
		
			Executable File
		
	
	
	
	
import { fileURLToPath, URL } from 'node:url'
 | 
						|
 | 
						|
import { defineConfig } from 'vite'
 | 
						|
import vue from '@vitejs/plugin-vue'
 | 
						|
import vueDevTools from 'vite-plugin-vue-devtools'
 | 
						|
import tailwindcss from '@tailwindcss/vite'
 | 
						|
//import { analyzer } from 'vite-bundle-analyzer'
 | 
						|
 | 
						|
// https://vite.dev/config/
 | 
						|
export default defineConfig({
 | 
						|
  base: process.env.DEPLOY_ENV === 'GH_PAGES' ? '/TBW/' : './',
 | 
						|
  plugins: [
 | 
						|
    vue(),
 | 
						|
    vueDevTools(),
 | 
						|
    tailwindcss(),
 | 
						|
    //analyzer()
 | 
						|
  ],
 | 
						|
  resolve: {
 | 
						|
    alias: {
 | 
						|
      '@': fileURLToPath(new URL('./src', import.meta.url)),
 | 
						|
    },
 | 
						|
  },
 | 
						|
  build: {
 | 
						|
    manifest: true
 | 
						|
  },
 | 
						|
})
 |