Big update
This commit is contained in:
parent
8b607dd700
commit
2e6afc460b
474 changed files with 934 additions and 86159 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { defineConfig } from 'vitest/config';
|
||||
import { defineConfig } from 'vite';
|
||||
import react from '@vitejs/plugin-react';
|
||||
import path from 'path';
|
||||
import { execSync } from 'child_process';
|
||||
|
|
@ -48,17 +48,6 @@ export default defineConfig(({ command }) => ({
|
|||
'@': path.resolve(import.meta.dirname, './src')
|
||||
}
|
||||
},
|
||||
css: {
|
||||
modules: {
|
||||
localsConvention: 'camelCase',
|
||||
generateScopedName: '[name]__[local]___[hash:base64:5]'
|
||||
},
|
||||
preprocessorOptions: {
|
||||
scss: {
|
||||
additionalData: `@use "@/styles/variables.scss" as *;`
|
||||
}
|
||||
}
|
||||
},
|
||||
server: {
|
||||
host: '127.0.0.1',
|
||||
proxy: {
|
||||
|
|
@ -68,11 +57,6 @@ export default defineConfig(({ command }) => ({
|
|||
}
|
||||
}
|
||||
},
|
||||
test: {
|
||||
env: {
|
||||
TZ: 'UTC'
|
||||
}
|
||||
},
|
||||
build: {
|
||||
target: 'es2020',
|
||||
outDir: 'dist'
|
||||
|
|
|
|||
Loading…
Reference in a new issue