mirror of
				https://github.com/continew-org/continew-admin.git
				synced 2025-10-31 22:57:17 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			528 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			528 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import { mergeConfig } from 'vite';
 | |
| import eslint from 'vite-plugin-eslint';
 | |
| import baseConfig from './vite.config.base';
 | |
| import createSvgIcon from './plugin/svg-icon';
 | |
| 
 | |
| export default mergeConfig(
 | |
|   {
 | |
|     mode: 'development',
 | |
|     server: {
 | |
|       open: true,
 | |
|       fs: {
 | |
|         strict: true,
 | |
|       },
 | |
|     },
 | |
|     plugins: [
 | |
|       eslint({
 | |
|         cache: false,
 | |
|         include: ['src/**/*.ts', 'src/**/*.tsx', 'src/**/*.vue'],
 | |
|         exclude: ['node_modules'],
 | |
|       }),
 | |
|       createSvgIcon(false),
 | |
|     ],
 | |
|   },
 | |
|   baseConfig
 | |
| );
 |