mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-10-15 22:33:40 +08:00
refactor(projects): 注入全局常量:PROJECT_BUILD_TIME - 构建时间
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import path from 'path';
|
||||
import { viteEnv, plugins } from './build';
|
||||
import { viteEnv, plugins, define } from './build';
|
||||
|
||||
export default defineConfig({
|
||||
base: viteEnv.VITE_BASE_URL,
|
||||
@@ -9,6 +9,7 @@ export default defineConfig({
|
||||
'@': path.resolve(__dirname, './src')
|
||||
}
|
||||
},
|
||||
define,
|
||||
css: {
|
||||
preprocessorOptions: {
|
||||
scss: {
|
||||
|
Reference in New Issue
Block a user