mirror of
https://github.com/Funkoala14/CreatorCenter_OOIN.git
synced 2025-06-07 22:58:14 +08:00
27 lines
563 B
JavaScript
27 lines
563 B
JavaScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
import path from 'path';
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
resolve: {
|
|
alias: {
|
|
'@': path.resolve(__dirname, './src'),
|
|
},
|
|
},
|
|
css: {
|
|
preprocessorOptions: {
|
|
scss: {
|
|
quietDeps: true,
|
|
outputStyle: 'compressed',
|
|
},
|
|
},
|
|
devSourcemap: false,
|
|
},
|
|
build: {
|
|
cssCodeSplit: false,
|
|
minify: true,
|
|
},
|
|
});
|