20 lines
		
	
	
		
			498 B
		
	
	
	
		
			JavaScript
		
	
	
	
		
		
			
		
	
	
			20 lines
		
	
	
		
			498 B
		
	
	
	
		
			JavaScript
		
	
	
	
| 
								 | 
							
								import { defineConfig } from 'vite'
							 | 
						||
| 
								 | 
							
								import uni from '@dcloudio/vite-plugin-uni'
							 | 
						||
| 
								 | 
							
								// import eslintPlugin from 'vite-plugin-eslint'
							 | 
						||
| 
								 | 
							
								// https://vitejs.dev/config/
							 | 
						||
| 
								 | 
							
								export default defineConfig({
							 | 
						||
| 
								 | 
							
								    plugins: [
							 | 
						||
| 
								 | 
							
								        uni(),
							 | 
						||
| 
								 | 
							
								        // eslintPlugin({
							 | 
						||
| 
								 | 
							
								        //   include: ['src/**/*.js', 'src/**/*.vue', 'src/*.js', 'src/*.vue']
							 | 
						||
| 
								 | 
							
								        // })
							 | 
						||
| 
								 | 
							
								    ],
							 | 
						||
| 
								 | 
							
								    css: {
							 | 
						||
| 
								 | 
							
								        preprocessorOptions: {
							 | 
						||
| 
								 | 
							
								            scss: {
							 | 
						||
| 
								 | 
							
								                api: 'modern-compiler', // or 'modern'
							 | 
						||
| 
								 | 
							
								            },
							 | 
						||
| 
								 | 
							
								        },
							 | 
						||
| 
								 | 
							
								    },
							 | 
						||
| 
								 | 
							
								})
							 |