solve build issue

This commit is contained in:
AceDataCloud committed 2024-01-01 17:11:58 +08:00
1 parent a6b4f40342
commit b3f1c382ac
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@
"start:local": "npm run start --env=local",
"start:test": "npm run start --env=test",
"start:production": "npm run start --env=production",
"build": "vite build",
"build": "vite build --mode=development",
"serve": "vite preview",
"lint": "npx eslint src --fix --ext .ts,.tsx,.vue,.js,.jsx",
"prettier": "npx prettier --write ."
+1 -1
View File
@@ -45,7 +45,7 @@ export default defineComponent({
.left {
width: 60px;
height: 100%;
// border-right: 1px solid var(--el-border-color);
border-right: 1px solid var(--el-border-color);
}
.main {
height: 100%;
+1 -1
View File
@@ -3,7 +3,7 @@ import vue from '@vitejs/plugin-vue';
import replace from '@rollup/plugin-replace';
import { string } from 'rollup-plugin-string';
import * as path from 'path';
console.log('process.env.NODE_ENV', process.env.NODE_ENV);
export default defineConfig({
server: {
host: 'localhost',