mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +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